Class: Konfig::Sources::Abstract
- Inherits:
-
Object
- Object
- Konfig::Sources::Abstract
- Defined in:
- lib/konfig/sources/abstract.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#get(path, attribute: nil) ⇒ Object
The get method will return the give value for the given path.
-
#initialize ⇒ Abstract
constructor
A new instance of Abstract.
Constructor Details
#initialize ⇒ Abstract
Returns a new instance of Abstract.
7 8 |
# File 'lib/konfig/sources/abstract.rb', line 7 def initialize end |
Instance Method Details
#get(path, attribute: nil) ⇒ Object
The get method will return the give value for the given path. The path will contain the full path to the value, including the groups which lead up to it.
13 14 15 |
# File 'lib/konfig/sources/abstract.rb', line 13 def get(path, attribute: nil) raise NotImplementedError end |