Class: Broadside::Deploy
- Inherits:
-
Object
- Object
- Broadside::Deploy
- Includes:
- LoggingUtils
- Defined in:
- lib/broadside/deploy.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Deploy
constructor
A new instance of Deploy.
Constructor Details
#initialize(options = {}) ⇒ Deploy
Returns a new instance of Deploy.
7 8 9 10 |
# File 'lib/broadside/deploy.rb', line 7 def initialize( = {}) @target = Broadside.config.get_target_by_name!([:target]) @tag = [:tag] || @target.tag end |
Instance Attribute Details
#target ⇒ Object (readonly)
Returns the value of attribute target.
5 6 7 |
# File 'lib/broadside/deploy.rb', line 5 def target @target end |