Class: Vagrant::VSshFs::Actions::Up
- Inherits:
-
Object
- Object
- Vagrant::VSshFs::Actions::Up
- Defined in:
- lib/valkyrie-sshfs/actions.rb
Direct Known Subclasses
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ Up
constructor
A new instance of Up.
Constructor Details
#initialize(app, env) ⇒ Up
Returns a new instance of Up.
9 10 11 |
# File 'lib/valkyrie-sshfs/actions.rb', line 9 def initialize(app, env) @machine = env[:machine] end |
Instance Method Details
#call(env) ⇒ Object
13 14 15 |
# File 'lib/valkyrie-sshfs/actions.rb', line 13 def call(env) get_builder(env).mount! if @machine.config.vsshfs.enabled end |