Module: Draper::AutomaticDelegation::ClassMethods
- Defined in:
- lib/draper/automatic_delegation.rb
Instance Method Summary collapse
-
#respond_to_missing?(method, include_private = false) ⇒ Boolean
Checks if the decorator responds to a class method, or is able to proxy it to the source class.
Instance Method Details
#respond_to_missing?(method, include_private = false) ⇒ Boolean
Checks if the decorator responds to a class method, or is able to proxy it to the source class.
38 39 40 |
# File 'lib/draper/automatic_delegation.rb', line 38 def respond_to_missing?(method, include_private = false) super || delegatable?(method) end |