lib/antelope/generator/ruby.rb in antelope-0.1.3 vs lib/antelope/generator/ruby.rb in antelope-0.1.4

- old
+ new

@@ -48,10 +48,10 @@ # Actually performs the generation. Takes the template from # ruby.erb and outputs it to `<file>_parser.rb`. # # @return [void] def generate - template "ruby.erb", "#{file}_parser.rb" do |body| + template "ruby.erb", "#{file}.rb" do |body| sprintf(grammar.compiler.body, :write => body) end end end end