Class: RR::ProcFromBlock

Inherits:
Proc
  • Object
show all
Defined in:
lib/rr/proc_from_block.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



4
5
6
# File 'lib/rr/proc_from_block.rb', line 4

def ==(other)
  Proc.new(&self) == other
end