lib/render/dottable_hash.rb in render-0.0.2 vs lib/render/dottable_hash.rb in render-0.0.3
- old
+ new
@@ -57,12 +57,11 @@
else
super
end
end
- def fetch(key)
+ def fetch(key, *args)
key = key.to_sym
- raise KeyError.new("Invalid key: #{key}") unless has_key?(key)
super
end
def fetch_path(full_path)
begin