Class: Settings::Yaml
- Inherits:
-
Object
- Object
- Settings::Yaml
- Defined in:
- lib/configurates/provider/yaml.rb
Defined Under Namespace
Classes: FileNotFound
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Class Method Summary collapse
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
19 20 21 |
# File 'lib/configurates/provider/yaml.rb', line 19 def data @data end |
Class Method Details
.load(path = nil) ⇒ Object
11 12 13 14 |
# File 'lib/configurates/provider/yaml.rb', line 11 def self.load(path = nil) path ||= '../configs/default.yml' new(path) end |