lib/antelope/generator/ruby.rb in antelope-0.2.4 vs lib/antelope/generator/ruby.rb in antelope-0.3.0
- old
+ new
@@ -69,10 +69,10 @@
# ruby.ant and outputs it to `<file>.rb`.
#
# @return [void]
def generate
template "ruby", "#{file}.rb" do |body|
- sprintf(grammar.compiler.body, :write => body)
+ sprintf(grammar.compiler.body, write: body)
end
end
end
end
end