Module: Kelbim::Utils::Helper
Instance Method Summary collapse
Instance Method Details
#matched_elb?(name) ⇒ Boolean
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/kelbim/utils.rb', line 4 def matched_elb?(name) result = true if @options[:exclude_elb_name] result &&= name !~ @options[:exclude_elb_name] end if @options[:elb_name] result &&= name =~ @options[:elb_name] end result end |