Module: Acting::Cast
- Defined in:
- lib/acting.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &blk) ⇒ Object (private)
49 50 51 52 53 54 55 56 |
# File 'lib/acting.rb', line 49 def method_missing(meth, *args, &blk) method = __injected_methods__[meth].last if method method.bind(self).call(*args) else super end end |