test/tc/methods.rb in rio-0.3.6 vs test/tc/methods.rb in rio-0.3.7
- old
+ new
@@ -70,10 +70,10 @@
@cwd = rio(::Dir.getwd)
@dir = rio('qp/methods')
# $trace_states = true
@dir.mkpath.chdir
@lines = (0..5).map { |n| "Line#{n}" }
- @chlines = @lines.map(&:chomp)
+ @chlines = @lines.map{|el| el.chomp}
::File.open('lines','w') do |f|
@lines.each do |li|
f.puts(li)
end
end