lib/hatemile/util/configure.rb
##
# Check that the configuration has an parameter.
#
# @param parameter [String] The parameter.
# @return [Boolean] True if the configuration has the parameter or false
#   if the configuration not has the parameter.
Check that the configuration has an parameter.
Check that the configuration has an parameter .
def has_parameter?(parameter)
        @locales.each do |locale|
          return true if @parameters[locale.to_s]['hatemile'].key?(parameter)
        end
        false
      end
def has_parameter? ( parameter ) @locales . each do | locale | return true if @parameters [ locale . to_s ] [ 'hatemile' ] . key? ( parameter ) end false end
Check that the configuration has an parameter.
Check that the configuration has an parameter .
True if the configuration has the parameter or false if the configuration not has the parameter.
True if the configuration has the parameter or false if the configuration not has the parameter .
Boolean
parameter
None