lib/aws/elb/filtered_collection.rb
# Specify one or more criteria to filter elastic IP addresses by.
# A subsequent call to #each will limit the results returned
# by provided filters.
#
#   * Chain multiple calls of #filter together to AND multiple conditions
#     together.
#   * Supply multiple values to a singler #filter call to OR those
#     value conditions together.
#   * '*' matches one or more characters and '?' matches any one
#     character.
#
Specify one or more criteria to filter elastic IP addresses by.
A subsequent call to #each will limit the results returned
by provided filters.

Chain multiple calls of #filter together to AND multiple conditions
together.
Supply multiple values to a singler #filter call to OR those
value conditions together.
'*' matches one or more characters and '?' matches any one
character.
Specify one or more criteria to filter elastic IP addresses by . A subsequent call to #each will limit the results returned by provided filters . Chain multiple calls of #filter together to AND multiple conditions together . Supply multiple values to a singler #filter call to OR those value conditions together . ' * ' matches one or more characters and ' ? ' matches any one character .
def filter filter_name, *values
        @filters = @filters.dup
        @filters << { :name => filter_name, :values => values.flatten }
        self
      end
def filter filter_name , * values @filters = @filters . dup @filters << { :name => filter_name , :values => values . flatten } self end
Specify one or more criteria to filter elastic IP addresses by.
Specify one or more criteria to filter elastic IP addresses by .
filter_name
<not_specific>
values
<not_specific>