Class: VagrantPlugins::Memset::Action::IsCreated

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-memset/action/is_created.rb

Instance Method Summary collapse

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