Module: Propane::Proxy
- Defined in:
- lib/propane/app.rb
Overview
Importing PConstants to access to processing constants, to keep namespace clean use PConstants::TRIANGLE (for example) or to use bare TRIANGLE also ‘include PConstants’ Using :method_missing to mimic inner class methods egregious hack…
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
184 185 186 187 |
# File 'lib/propane/app.rb', line 184 def method_missing(name, *args) return $app.send(name, *args) if $app && $app.respond_to?(name) super end |