Method: Skypager::Configuration#home_config
- Defined in:
- lib/skypager/configuration.rb
#home_config ⇒ Object
178 179 180 181 182 183 184 185 186 |
# File 'lib/skypager/configuration.rb', line 178 def home_config initialize! unless home_config_path.exist? @home_config ||= begin (home_config_path.exist? rescue false) ? JSON.parse(home_config_path.read) : {} rescue {} end end |