class FlexMock::Undefined
Undefined
is a self preserving undefined object. The result of any interaction with the undefined object will be the undefined object itself.
Public Instance Methods
<=>(other)
click to toggle source
# File lib/flexmock/undefined.rb, line 33 def <=>(other) self end
clone()
click to toggle source
# File lib/flexmock/undefined.rb, line 29 def clone self end
coerce(other)
click to toggle source
# File lib/flexmock/undefined.rb, line 37 def coerce(other) [FlexMock.undefined, FlexMock.undefined] end
inspect()
click to toggle source
# File lib/flexmock/undefined.rb, line 25 def inspect to_s end
method_missing(sym, *args, &block)
click to toggle source
# File lib/flexmock/undefined.rb, line 17 def method_missing(sym, *args, &block) self end
to_s()
click to toggle source
# File lib/flexmock/undefined.rb, line 21 def to_s "-UNDEFINED-" end