Class: Object

Inherits:
BasicObject
Defined in:
lib/rrr.rb

Class Method Summary collapse

Class Method Details

.cm(&block) ⇒ Object



11
12
13
# File 'lib/rrr.rb', line 11

def cm(&block)
  RRR.stub(self).__send__(:instance_eval, &block)
end

.im(&block) ⇒ Object



15
16
17
# File 'lib/rrr.rb', line 15

def im(&block)
  RRR.stub.instance_of(self).__send__(:instance_eval, &block)
end