lib/conf.rb in conf-0.0.4 vs lib/conf.rb in conf-0.0.5
- old
+ new
@@ -64,10 +64,10 @@
def locked?
@locked
end
def section(start_key)
- result = @parent ? @parent.section(start_keykey) : {}
+ result = @parent ? @parent.section(start_key) : {}
@data.each do |key, value|
result[key] = value if key =~ /^#{Regexp.escape start_key}/
end