Class: JJ
- Inherits:
-
Object
- Object
- JJ
- Defined in:
- lib/jj.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
8 9 10 |
# File 'lib/jj.rb', line 8 def method_missing(name, *args) Object.const_get("JJAction#{name.capitalize}").new.execute args.first end |