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

.inspectObject



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

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

.nameObject



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

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

.to_sObject



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

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

Instance Method Details

#inspectObject

See MuchStub::CallSpy#inspect.



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

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