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
347 348 349 350 351 352 353 354 |
# File 'lib/morph.rb', line 347 def method_missing symbol, *args is_writer = symbol.to_s =~ /=$/ if is_writer Chas.morph_method_missing(self, symbol, *args) else super end end |