class SmAppConfig::Configuration
Constants
- DEFAULTS
Public Class Methods
new()
click to toggle source
# File lib/sm_app_config/configuration.rb, line 12 def initialize clear end
Public Instance Methods
clear()
click to toggle source
# File lib/sm_app_config/configuration.rb, line 16 def clear @hash = DEFAULTS.dup end
merge!(configuration_hash)
click to toggle source
# File lib/sm_app_config/configuration.rb, line 20 def merge! configuration_hash @hash.merge!(configuration_hash) end