Method: Para::ComponentsConfiguration#method_missing

Defined in:
lib/para/components_configuration.rb

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



26
27
28
29
30
31
32
# File 'lib/para/components_configuration.rb', line 26

def method_missing(method, *args, &block)
  if (component = component_for(method))
    component.tap(&ActiveDecorator::Decorator.instance.method(:decorate))
  else
    super
  end
end