module Kelbim::Utils::Helper

Public Instance Methods

matched_elb?(name) click to toggle source
# 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