Module: AMarmita::ClassMethods
- Included in:
- AMarmita
- Defined in:
- lib/a_marmita.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
49 50 51 52 53 |
# File 'lib/a_marmita.rb', line 49 def method_missing(method, *args, &block) return super unless singleton.respond_to?(method) singleton.send(method, *args) end |