Class: Applb::DSL::EC2::LoadBalancer::TargetGroups
- Inherits:
-
Object
- Object
- Applb::DSL::EC2::LoadBalancer::TargetGroups
- Includes:
- TemplateHelper
- Defined in:
- lib/applb/dsl/target_group.rb,
lib/applb/dsl/target_groups.rb
Defined Under Namespace
Classes: TargetGroup
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(context, lb, &block) ⇒ TargetGroups
constructor
A new instance of TargetGroups.
Methods included from TemplateHelper
Constructor Details
#initialize(context, lb, &block) ⇒ TargetGroups
Returns a new instance of TargetGroups.
12 13 14 15 16 17 |
# File 'lib/applb/dsl/target_groups.rb', line 12 def initialize(context, lb, &block) @context = context.dup @lb = lb @result = [] instance_eval(&block) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
10 11 12 |
# File 'lib/applb/dsl/target_groups.rb', line 10 def result @result end |