Class: VagrantPlugins::SSHConfigCache::Action::RemoveCache
- Inherits:
-
Object
- Object
- VagrantPlugins::SSHConfigCache::Action::RemoveCache
- Defined in:
- lib/vagrant-ssh-config-cache/action/remove_cache.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ RemoveCache
constructor
A new instance of RemoveCache.
Constructor Details
#initialize(app, env) ⇒ RemoveCache
Returns a new instance of RemoveCache.
3 4 5 |
# File 'lib/vagrant-ssh-config-cache/action/remove_cache.rb', line 3 def initialize(app, env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
7 8 9 10 |
# File 'lib/vagrant-ssh-config-cache/action/remove_cache.rb', line 7 def call(env) remove_cache(env[:machine]) @app.call(env) end |