Parent

Files

Class/Module Index [+]

Quicksearch

MockObject

Public Class Methods

new(name, options={}) click to toggle source
# File lib/mspec/mocks/proxy.rb, line 2
def initialize(name, options={})
  @name = name
  @null = options[:null_object]
end

Public Instance Methods

method_missing(sym, *args, &block) click to toggle source
# File lib/mspec/mocks/proxy.rb, line 7
def method_missing(sym, *args, &block)
  @null ? self : super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.