Class: Pik::Config
- Inherits:
-
Hash
- Object
- Hash
- Pik::Config
- Defined in:
- lib/pik/config.rb
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #write ⇒ Object
Constructor Details
Instance Method Details
#write ⇒ Object
14 15 16 |
# File 'lib/pik/config.rb', line 14 def write File.open(@file, 'w'){|f| f.puts YAML::dump(self) } end |