Sha256: de3c75794314f06c273a8be123e3dce5961c03e67e8a8a8ef32cd7776bb71804
Contents?: true
Size: 557 Bytes
Versions: 6
Compression:
Stored size: 557 Bytes
Contents
require 'applb/dsl/listener' module Applb class DSL class EC2 class LoadBalancer class Listeners include Applb::TemplateHelper attr_reader :result def initialize(context, lb_name, &block) @context = context.dup @lb_name = lb_name @result = [] instance_eval(&block) end private def listener(&block) @result << Listener.new(@context, @lb_name, &block).result end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems