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



8
9
10
# File 'lib/epuber/ruby_extensions/thread.rb', line 8

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

#hashObject



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

def hash
  to_s.hash
end