Class: Gem::Release::Config::Files
- Inherits:
-
Object
- Object
- Gem::Release::Config::Files
- Includes:
- Helper::Hash
- Defined in:
- lib/gem/release/config/files.rb
Constant Summary collapse
- PATHS =
%w( ./.gem_release/config.yml ./.gem_release.yml ~/.gem_release/config.yml ~/.gem_release.yml )
Constants included from Helper::Hash
Instance Method Summary collapse
Methods included from Helper::Hash
#deep_merge, #except, #only, #symbolize_keys
Instance Method Details
#load ⇒ Object
17 18 19 20 |
# File 'lib/gem/release/config/files.rb', line 17 def load return {} unless path symbolize_keys(YAML.load_file(path) || {}) end |