Class: VagrantBindfs::Vagrant::Actions::Installer
- Inherits:
-
Object
- Object
- VagrantBindfs::Vagrant::Actions::Installer
- Includes:
- Concerns::Log, Concerns::Machine
- Defined in:
- lib/vagrant-bindfs/vagrant/actions/installer.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ Installer
constructor
A new instance of Installer.
Methods included from Concerns::Log
#debug, #detail, #error, #info, #logger, #warn
Methods included from Concerns::Machine
#bound_folders, #config, #guest, #machine
Constructor Details
#initialize(app, env) ⇒ Installer
Returns a new instance of Installer.
13 14 15 16 |
# File 'lib/vagrant-bindfs/vagrant/actions/installer.rb', line 13 def initialize(app, env) @app = app @env = env end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
7 8 9 |
# File 'lib/vagrant-bindfs/vagrant/actions/installer.rb', line 7 def app @app end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
7 8 9 |
# File 'lib/vagrant-bindfs/vagrant/actions/installer.rb', line 7 def env @env end |
Instance Method Details
#call(env) ⇒ Object
18 19 20 21 |
# File 'lib/vagrant-bindfs/vagrant/actions/installer.rb', line 18 def call(env) @app.call(env) apply!(env) end |