Class: UnifiedSettings::Handlers::Base
- Inherits:
-
Object
- Object
- UnifiedSettings::Handlers::Base
- Defined in:
- lib/unified_settings/handlers/base.rb
Overview
Base handler for a setting source
All handers should inherit from this base class and implement the method
def get(key, case_sensitive: nil)
Direct Known Subclasses
Constant Summary collapse
- KEY_NESTING_SEPARATOR =
'.'
Instance Method Summary collapse
-
#get(key, case_sensitive: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Instance Method Details
#get(key, case_sensitive: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
13 14 15 |
# File 'lib/unified_settings/handlers/base.rb', line 13 def get(key, case_sensitive: nil) raise 'Needs to be implemented by subclasss' end |