repo.or.cz
/
amazing.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Merge branch 'master' into config
[amazing.git]
/
lib
/
amazing
/
config
/
yaml.rb
blob
c059f3d68ef1d2ce4e954880cfa7ef6038da32f6
1
require 'yaml'
2
3
module Amazing
4
class Config < Hash
5
class Yaml < Hash
6
def initialize(config)
7
merge!(YAML.load_file(config))
8
end
9
end
10
end
11
end