Class: VagrantPlugins::Brightbox::Action::Unsupported
- Inherits:
-
Object
- Object
- VagrantPlugins::Brightbox::Action::Unsupported
- Defined in:
- lib/vagrant-brightbox/action/unsupported.rb
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(app, env) ⇒ Unsupported
constructor
A new instance of Unsupported.
Constructor Details
#initialize(app, env) ⇒ Unsupported
Returns a new instance of Unsupported.
5 6 7 |
# File 'lib/vagrant-brightbox/action/unsupported.rb', line 5 def initialize(app, env) @app = app end |
Instance Method Details
#call(env) ⇒ Object
9 10 11 12 13 |
# File 'lib/vagrant-brightbox/action/unsupported.rb', line 9 def call(env) env[:ui].warn(I18n.t("vagrant_brightbox.unsupported")) @app.call(env) end |