Class: VagrantPlugins::Rimu::Actions::MessageActionNotSupported

Inherits:
AbstractAction
  • Object
show all
Defined in:
lib/vagrant-rimu/actions/message_action_not_supported.rb

Instance Method Summary collapse

Methods inherited from AbstractAction

#call

Constructor Details

#initialize(app, _env) ⇒ MessageActionNotSupported

Returns a new instance of MessageActionNotSupported.



7
8
9
# File 'lib/vagrant-rimu/actions/message_action_not_supported.rb', line 7

def initialize(app, _env)
  @app = app
end

Instance Method Details

#execute(env) ⇒ Object



11
12
13
14
15
# File 'lib/vagrant-rimu/actions/message_action_not_supported.rb', line 11

def execute(env)
  env[:ui].info(I18n.t('vagrant_rimu.action_not_supported'))

  @app.call(env)
end