Class: VagrantPlugins::Ohai::ActionConfigureChef
- Inherits:
-
Object
- Object
- VagrantPlugins::Ohai::ActionConfigureChef
- Includes:
- Helpers
- Defined in:
- lib/vagrant-ohai/action_configure_chef.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ ActionConfigureChef
constructor
A new instance of ActionConfigureChef.
Methods included from Helpers
Constructor Details
#initialize(app, env) ⇒ ActionConfigureChef
Returns a new instance of ActionConfigureChef.
8 9 10 11 12 13 |
# File 'lib/vagrant-ohai/action_configure_chef.rb', line 8 def initialize(app, env) @app = app @env = env @machine = env[:machine] register_custom_chef_config end |
Instance Method Details
#call(env) ⇒ Object
15 16 17 |
# File 'lib/vagrant-ohai/action_configure_chef.rb', line 15 def call(env) @app.call(env) end |