Undefined is a self preserving undefined object. The result of any interaction with the undefined object will be the undefined object itself.
# File lib/flexmock/undefined.rb, line 34 def <=>(other) self end
# File lib/flexmock/undefined.rb, line 30 def clone self end
# File lib/flexmock/undefined.rb, line 38 def coerce(other) [FlexMock.undefined, FlexMock.undefined] end
# File lib/flexmock/undefined.rb, line 26 def inspect to_s end
# File lib/flexmock/undefined.rb, line 18 def method_missing(sym, *args, &block) self end
# File lib/flexmock/undefined.rb, line 22 def to_s "-UNDEFINED-" end