bin/smoke_runner.rb in steep-0.5.1 vs bin/smoke_runner.rb in steep-0.6.0
- old
+ new
@@ -31,10 +31,10 @@
dir.children.each do |file|
if file.extname == ".rb"
buffer = ::Parser::Source::Buffer.new(file.to_s)
buffer.source = file.read
- parser = ::Parser::CurrentRuby.new
+ parser = ::Parser::Ruby25.new
_, comments, _ = parser.tokenize(buffer)
comments.each do |comment|
src = comment.text.gsub(/\A#\s*/, '')