Sha256: 38a0970e67b355be3a3154f2c824c0e04ef24111cac31deba96f1f0af8a3d458
Contents?: true
Size: 199 Bytes
Versions: 5
Compression:
Stored size: 199 Bytes
Contents
require 'yaml' yaml = YAML.load_file('config.yml') puts yaml[:path] yml = {path: '/Users/marcell', this: 'this', that: 'that'}.to_yaml # File.open('config.yml', 'w') do |file| file.write(yml) end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
simple_commander-0.5.1 | test2.rb |
simple_commander-0.5.0 | test2.rb |
simple_commander-0.4.0 | test2.rb |
simple_commander-0.3.1 | test2.rb |
simple_commander-0.3.0 | test2.rb |