Commit 1c1a203
Changed files (1)
spec
support
spec/support/erb_templating.rb
@@ -8,7 +8,7 @@ module ErbTemplating
end
def fetch(key, default)
- @data.fetch(key, default)
+ @data.fetch(key) { default }
end
def __expand