Class: Vx::Builder::BuildConfiguration::Deploy
- Inherits:
-
Object
- Object
- Vx::Builder::BuildConfiguration::Deploy
- Defined in:
- lib/vx/builder/build_configuration/deploy.rb,
lib/vx/builder/build_configuration/deploy/provider.rb
Defined Under Namespace
Classes: Provider
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
Instance Method Summary collapse
-
#initialize(new_env) ⇒ Deploy
constructor
A new instance of Deploy.
- #providers ⇒ Object
Constructor Details
#initialize(new_env) ⇒ Deploy
Returns a new instance of Deploy.
8 9 10 |
# File 'lib/vx/builder/build_configuration/deploy.rb', line 8 def initialize(new_env) normalize(new_env) end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
6 7 8 |
# File 'lib/vx/builder/build_configuration/deploy.rb', line 6 def attributes @attributes end |
Instance Method Details
#providers ⇒ Object
16 17 18 19 20 |
# File 'lib/vx/builder/build_configuration/deploy.rb', line 16 def providers @providers ||= @attributes.map do |a| Deploy::Provider.new(a) end end |