Method: Azeroth::Decorator#method_missing
- Defined in:
- lib/azeroth/decorator.rb
#method_missing(method_name) ⇒ Object (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Method called when method is missing
This delegates method calls to the given object
149 150 151 152 153 154 155 |
# File 'lib/azeroth/decorator.rb', line 149 def method_missing(method_name, *) if object.respond_to?(method_name) object.public_send(method_name, *) else super end end |