method
new
new(target, name)
public
Hide source
# File lib/spec/mocks/error_generator.rb, line 6 def initialize(target, name) @target = target @name = name end