lib/dagger/generator.rb in ruby-dagger-0.2.0 vs lib/dagger/generator.rb in ruby-dagger-0.2.1
- old
+ new
@@ -74,9 +74,10 @@
# format(string)
def format_string(string)
hash = Hash.new do |_, key|
result = @context.dictionary[key]
next result unless result.nil?
+
return nil
end
format(string, hash)
end