Method: Datapimp::Configuration#home_config
- Defined in:
- lib/datapimp/configuration.rb
#home_config ⇒ Object
202 203 204 205 206 207 208 209 210 |
# File 'lib/datapimp/configuration.rb', line 202 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 |