Parent

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

clone() click to toggle source
    # File lib/flexmock/undefined.rb, line 30
30:     def clone
31:       self
32:     end
coerce(other) click to toggle source
    # File lib/flexmock/undefined.rb, line 34
34:     def coerce(other)
35:       [FlexMock.undefined, FlexMock.undefined]
36:     end
inspect() click to toggle source
    # File lib/flexmock/undefined.rb, line 26
26:     def inspect
27:       to_s
28:     end
method_missing(sym, *args, &block) click to toggle source
    # File lib/flexmock/undefined.rb, line 18
18:     def method_missing(sym, *args, &block)
19:       self
20:     end
to_s() click to toggle source
    # File lib/flexmock/undefined.rb, line 22
22:     def to_s
23:       "-UNDEFINED-"
24:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.