Module: E9s::Engine
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/e9s/engine.rb', line 6 def method_missing(method, *args) MODULES.detect do |mod| m = "rich/#{mod}/engine".camelize.constantize if m.respond_to?(method) m.send method, *args true end end end |