class Object
def should_equal(other)
puts "testing equality of #{self} and #{other}"
self
end
end
"hello".index('lo', -3).should_equal(3)
|
class Object
def should_equal(other)
puts "testing equality of #{self} and #{other}"
self
end
end
"hello".index('lo', -3).should_equal(3)
|