Class: SettingsReader::Resolvers::Abstract
- Inherits:
-
Object
- Object
- SettingsReader::Resolvers::Abstract
- Includes:
- Mixins::Values
- Defined in:
- lib/settings_reader/resolvers/abstract.rb
Overview
Abstract resolver interface
Constant Summary
Constants included from Mixins::Values
Mixins::Values::PARSING_CLASSES
Instance Method Summary collapse
-
#resolvable?(_value, _path) ⇒ Boolean
Should return true if value is resolvable.
-
#resolve(value, _path) ⇒ Object
Should resolve value.
Methods included from Mixins::Values
#cast_value_from_string, #get_value_from_hash
Instance Method Details
#resolvable?(_value, _path) ⇒ Boolean
Should return true if value is resolvable
8 9 10 |
# File 'lib/settings_reader/resolvers/abstract.rb', line 8 def resolvable?(_value, _path) false end |
#resolve(value, _path) ⇒ Object
Should resolve value
13 14 15 |
# File 'lib/settings_reader/resolvers/abstract.rb', line 13 def resolve(value, _path) value end |