Skip to content

Commit

Permalink
Specs, uniq! for ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpetri1 committed Jul 17, 2021
1 parent 556411d commit f57acc8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/interval_tree.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ def search(query, options = {})
else
result = point_search(top_node, query, [], options[:unique])
end

puts "=================="
p result

options[:sort] ? result.sort_by { |x| [x.begin, x.end] } : result
end

Expand Down

0 comments on commit f57acc8

Please sign in to comment.