Class: SettingsReader::Backends::Abstract

Inherits:
Object
  • Object
show all
Includes:
Mixins::Path, Mixins::Values
Defined in:
lib/settings_reader/backends/abstract.rb

Overview

Abstract class with basic functionality

Direct Known Subclasses

YamlFile

Constant Summary

Constants included from Mixins::Values

Mixins::Values::PARSING_CLASSES

Constants included from Mixins::Path

Mixins::Path::PATH_SEPARATOR

Instance Method Summary collapse

Methods included from Mixins::Values

#cast_value_from_string, #get_value_from_hash

Methods included from Mixins::Path

#decompose_path, #generate_path

Instance Method Details

#get(_full_path) ⇒ Object

get value from backend by full_path or return nil if missing

Raises:

  • (NotImplementedError)


9
10
11
# File 'lib/settings_reader/backends/abstract.rb', line 9

def get(_full_path)
  raise NotImplementedError
end