Module: Morph::MethodMissing
- Defined in:
- lib/morph.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(symbol, *args) ⇒ Object
329 330 331 332 333 334 335 336 |
# File 'lib/morph.rb', line 329 def method_missing symbol, *args is_writer = symbol.to_s =~ /=$/ if is_writer Chas.morph_method_missing(self, symbol, *args) else super end end |