Class: Vagrant::Plugin::V2::Push
- Inherits:
-
Object
- Object
- Vagrant::Plugin::V2::Push
- Defined in:
- lib/vagrant/plugin/v2/push.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env, config) ⇒ Push
constructor
Initializes the pusher with the given environment the push configuration.
-
#push ⇒ Object
This is the method called when the actual pushing should be done.
Constructor Details
#initialize(env, config) ⇒ Push
Initializes the pusher with the given environment the push configuration.
16 17 18 19 |
# File 'lib/vagrant/plugin/v2/push.rb', line 16 def initialize(env, config) @env = env @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
9 10 11 |
# File 'lib/vagrant/plugin/v2/push.rb', line 9 def config @config end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
8 9 10 |
# File 'lib/vagrant/plugin/v2/push.rb', line 8 def env @env end |
Instance Method Details
#push ⇒ Object
This is the method called when the actual pushing should be done.
No return value is expected.
25 26 |
# File 'lib/vagrant/plugin/v2/push.rb', line 25 def push end |