Class: Patriot::Util::Config::Base
- Inherits:
-
Object
- Object
- Patriot::Util::Config::Base
- Defined in:
- lib/patriot/util/config/base.rb
Overview
base class of configuration classes
Direct Known Subclasses
Instance Method Summary collapse
-
#get(key, default = nil) ⇒ Object
get value for the specified key.
-
#path ⇒ String
get path where this configuration is loaded.
Instance Method Details
#get(key, default = nil) ⇒ Object
get value for the specified key
10 11 12 |
# File 'lib/patriot/util/config/base.rb', line 10 def get(key, default=nil) raise NotImplementedError end |
#path ⇒ String
get path where this configuration is loaded
16 17 18 |
# File 'lib/patriot/util/config/base.rb', line 16 def path raise NotImplementedError end |