# File lib/ruby-prof/method_info.rb, line 7 def <=>(other) if self.total_time < other.total_time -1 elsif self.total_time > other.total_time 1 elsif self.min_depth < other.min_depth 1 elsif self.min_depth > other.min_depth -1 else -1 * (self.full_name <=> other.full_name) end end