class RSpec::Mocks::ErrorGenerator
def initialize(target, name, options={})
def initialize(target, name, options={}) @declared_as = options[:__declared_as] || 'Mock' @target = target @name = name end
def initialize(target, name, options={}) @declared_as = options[:__declared_as] || 'Mock' @target = target @name = name end