Class: Assert::StubCallSpy

Inherits:
Object
  • Object
show all
Defined in:
lib/assert/stub.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.inspect ⇒ Object



77
78
79
# File 'lib/assert/stub.rb', line 77

def self.inspect
  super.gsub("MuchStub::CallSpy", "Assert::StubCallSpy")
end

.name ⇒ Object



69
70
71
# File 'lib/assert/stub.rb', line 69

def self.name
  super.gsub("MuchStub::CallSpy", "Assert::StubCallSpy")
end

.to_s ⇒ Object



73
74
75
# File 'lib/assert/stub.rb', line 73

def self.to_s
  super.gsub("MuchStub::CallSpy", "Assert::StubCallSpy")
end

Instance Method Details

#inspect ⇒ Object

See MuchStub::CallSpy#inspect.



82
83
84
# File 'lib/assert/stub.rb', line 82

def inspect
  "#<Assert::StubCallSpy:#{"0x0%x" % (__id__ << 1)}>"
end