lib/easy_app_helper/core/base.rb
# Performs actions related the very specific config parameters
# @param [String] key The parameter to check
# @param [Object] value The value it expects to be set to
# @param [Symbol] layer Optional layer, default is :modified
# @return [Boolean] Whether or not the internal state has been changed
Performs actions related the very specific config parameters
Performs actions related the very specific config parameters
def check_hardcoded_properties(key, value, layer = :modified)
    processed = false
    case key
      when :'log-level'
        logger.send :level=, value, false
      when :'config-file'
        set_value key, value, layer
        force_reload
        processed = true
    end
    processed
  end
def check_hardcoded_properties ( key , value , layer = :modified ) processed = false case key when :' log-level ' logger . send :level= , value , false when :' config-file ' set_value key , value , layer force_reload processed = true end processed end
Performs actions related the very specific config parameters
Performs actions related the very specific config parameters
Whether or not the internal state has been changed
Whether or not the internal state has been changed
Boolean
key
<not_specific>
value
<not_specific>
layer
<not_specific>
<not_specific>
layer Optional layer, default is :modified
layer Optional layer default is : modified