Class: Applb::DSL::EC2::LoadBalancer::Listeners::Listener
- Inherits:
-
Object
- Object
- Applb::DSL::EC2::LoadBalancer::Listeners::Listener
- Includes:
- Checker, TemplateHelper
- Defined in:
- lib/applb/dsl/rule.rb,
lib/applb/dsl/rules.rb,
lib/applb/dsl/listener.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(context, lb_name, &block) ⇒ Listener
constructor
A new instance of Listener.
Methods included from TemplateHelper
Constructor Details
#initialize(context, lb_name, &block) ⇒ Listener
Returns a new instance of Listener.
89 90 91 92 93 94 95 96 |
# File 'lib/applb/dsl/listener.rb', line 89 def initialize(context, lb_name, &block) @context = context.dup @lb_name = lb_name @result = Result.new(@context, @lb_name) instance_eval(&block) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
87 88 89 |
# File 'lib/applb/dsl/listener.rb', line 87 def result @result end |