seattlerb / ruby_parser

ruby_parser is a ruby parser written in pure ruby. It outputs s-expressions which can be manipulated and converted back to ruby via the ruby2ruby gem.
http://www.zenspider.com/projects/ruby_parser.html
476 stars 100 forks source link

Fix an error related to empty ensure bodies #307

Closed presidentbeef closed 4 years ago

presidentbeef commented 4 years ago

Addresses #306

zenspider commented 4 years ago

Added w/ some changes... gonna make one more (empty resbody nil -> s(:nil))