lib/launcher/parameters.rb
def filtered?(key)
      unless filter.nil?
        (key.to_s =~ filter).nil?
      else
        false
      end
    end
# Determines if a key is to be filtered out of the resultant Hash.
# This method uses the #filter method and matches the key against
# the regular expression.
#
# @return [Boolean] True if key is filtered out, false otherwise.
Determines if a key is to be filtered out of the resultant Hash.
This method uses the #filter method and matches the key against
the regular expression.
Determines if a key is to be filtered out of the resultant Hash . This method uses the #filter method and matches the key against the regular expression .
def filtered?(key)
      unless filter.nil?
        (key.to_s =~ filter).nil?
      else
        false
      end
    end
def filtered? ( key ) unless filter . nil? ( key . to_s =~ filter ) . nil? else false end end
Determines if a key is to be filtered out of the resultant Hash.
Determines if a key is to be filtered out of the resultant Hash .
True if key is filtered out, false otherwise.
True if key is filtered out false otherwise .
Boolean
key