Method: Fortitude::Widget::Integration#method_missing

Defined in:
lib/fortitude/widget/integration.rb

#method_missing(name, *args, &block) ⇒ Object

RUBY CALLBACK



35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/fortitude/widget/integration.rb', line 35

def method_missing(name, *args, &block)
  target_method_and_args = _fortitude_target_method_and_args_for_method_missing(name, *args, &block)
  if target_method_and_args
    target = target_method_and_args[0]
    method = target_method_and_args[1]
    args = target_method_and_args[2..-1]

    target.send(method, *args, &block)
  else
    super(name, *args, &block)
  end
end