Class: Applb::DSL::EC2::LoadBalancer::TargetGroups

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from TemplateHelper

#context, #include_template

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

#resultObject (readonly)

Returns the value of attribute result.



10
11
12
# File 'lib/applb/dsl/target_groups.rb', line 10

def result
  @result
end