Module: VagrantPlugins::SSHConfigCache::Action

Defined in:
lib/vagrant-ssh-config-cache/action.rb

Defined Under Namespace

Classes: CreateCache, RemoveCache

Class Method Summary collapse

Class Method Details

.action_create_cacheObject



5
6
7
8
9
10
# File 'lib/vagrant-ssh-config-cache/action.rb', line 5

def self.action_create_cache
  require_relative 'action/create_cache'
  Vagrant::Action::Builder.new.tap do |b|
    b.use CreateCache
  end
end

.action_remove_cacheObject



12
13
14
15
16
17
# File 'lib/vagrant-ssh-config-cache/action.rb', line 12

def self.action_remove_cache
  require_relative 'action/remove_cache'
  Vagrant::Action::Builder.new.tap do |b|
    b.use RemoveCache
  end
end