Class: SproutPunk::Config

Inherits:
ConfigFile show all
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_pathObject



7
8
9
# File 'lib/sproutpunk/config.rb', line 7

def self.default_path
  File.expand_path(File.join('config', 'sproutpunk.yml'))
end

Instance Method Details

#inspectObject



11
12
13
# File 'lib/sproutpunk/config.rb', line 11

def inspect
  "#<SproutPunk::Config #{@table.inspect}>"
end