Class: SproutPunk::Config
- Inherits:
-
ConfigFile
- Object
- ConfigFile
- SproutPunk::Config
- Defined in:
- lib/sproutpunk/config.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from ConfigFile
#config_dir, #default_path, #initialize, #load, load, #method_missing, #root_dir, #set?, #to_hash, #write
Constructor Details
This class inherits a constructor from SproutPunk::ConfigFile
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SproutPunk::ConfigFile
Class Method Details
.default_path ⇒ Object
7 8 9 |
# File 'lib/sproutpunk/config.rb', line 7 def self.default_path File.(File.join('config', 'sproutpunk.yml')) end |
Instance Method Details
#inspect ⇒ Object
11 12 13 |
# File 'lib/sproutpunk/config.rb', line 11 def inspect "#<SproutPunk::Config #{@table.inspect}>" end |