Class: VagrantPlugins::Memset::Action::IsCreated
- Inherits:
-
Object
- Object
- VagrantPlugins::Memset::Action::IsCreated
- Defined in:
- lib/vagrant-memset/action/is_created.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ IsCreated
constructor
A new instance of IsCreated.
Constructor Details
#initialize(app, env) ⇒ IsCreated
Returns a new instance of IsCreated.
6 7 8 |
# File 'lib/vagrant-memset/action/is_created.rb', line 6 def initialize(app,env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
10 11 12 13 |
# File 'lib/vagrant-memset/action/is_created.rb', line 10 def call(env) env[:result]= :notcreated @app.call(env) end |