Class: DroidProj::RunnerContext
- Inherits:
-
Object
- Object
- DroidProj::RunnerContext
- Defined in:
- lib/droidproj/runner.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
65 66 67 68 69 70 71 |
# File 'lib/droidproj/runner.rb', line 65 def method_missing(method, *args, &block) if app.respond_to?(method) app.send(method, *args, &block) else super end end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
59 60 61 |
# File 'lib/droidproj/runner.rb', line 59 def app @app end |
Instance Method Details
#create_context ⇒ Object
61 62 63 |
# File 'lib/droidproj/runner.rb', line 61 def create_context Proc.new {} end |