class Patriot::Util::Config::Base

base class of configuration classes

Public Instance Methods

get(key, default=nil) click to toggle source

get value for the specified key @param [String] key @param [Object] default default value @return [Object] the value for the ke

# File lib/patriot/util/config/base.rb, line 10
def get(key, default=nil)
  raise NotImplementedError
end
path() click to toggle source

get path where this configuration is loaded @return [String] path to the file

# File lib/patriot/util/config/base.rb, line 16
def path
  raise NotImplementedError
end