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



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

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