Class: Thread::Backtrace::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/epuber/ruby_extensions/thread.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



10
11
12
# File 'lib/epuber/ruby_extensions/thread.rb', line 10

def ==(other)
  to_s == other.to_s
end

#hashObject



6
7
8
# File 'lib/epuber/ruby_extensions/thread.rb', line 6

def hash
  to_s.hash
end