lib/antelope/generator/ruby.rb in antelope-0.1.2 vs lib/antelope/generator/ruby.rb in antelope-0.1.3
- old
+ new
@@ -30,10 +30,10 @@
", " <<
production.items.size.inspect <<
", "
block = if production.block.empty?
- "proc {}"
+ "proc { |_| _ }"
else
"proc #{production.block}"
end
out << block << "],\n"