Class: Rubber::Cloud::Base
- Inherits:
-
Object
- Object
- Rubber::Cloud::Base
- Defined in:
- lib/rubber/cloud/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#capistrano ⇒ Object
readonly
Returns the value of attribute capistrano.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env, capistrano) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(env, capistrano) ⇒ Base
Returns a new instance of Base.
8 9 10 11 |
# File 'lib/rubber/cloud/base.rb', line 8 def initialize(env, capistrano) @env = env @capistrano = capistrano end |
Instance Attribute Details
#capistrano ⇒ Object (readonly)
Returns the value of attribute capistrano.
6 7 8 |
# File 'lib/rubber/cloud/base.rb', line 6 def capistrano @capistrano end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
6 7 8 |
# File 'lib/rubber/cloud/base.rb', line 6 def env @env end |