lib/testrbl.rb in testrbl-0.1.3 vs lib/testrbl.rb in testrbl-0.1.4
- old
+ new
@@ -30,10 +30,9 @@
content = File.readlines(file)
search = content[0..(line.to_i-1)].reverse
last_spaces = " " * 100
found = search.map{|line| pattern_from_line(line) }.compact
- puts found.inspect
found.select! do |spaces, name|
last_spaces = spaces if spaces.size < last_spaces.size
end