Class: Softcover::Config
- Inherits:
-
BaseConfig
- Object
- BaseConfig
- Softcover::Config
- Defined in:
- lib/softcover/config.rb
Constant Summary
Constants inherited from BaseConfig
BaseConfig::DEFAULTS, BaseConfig::PATH
Class Method Summary collapse
Methods inherited from BaseConfig
[], []=, exists?, read, remove
Class Method Details
.path ⇒ Object
58 59 60 |
# File 'lib/softcover/config.rb', line 58 def self.path File.exists?(".softcover") ? ".softcover" : "~/.softcover" end |