A NonConvertingFactory accepts objects that are already native, and throws a mismatch error for anything else.
@example
ff = Gorillib::Factory::NonConvertingFactory.new(:product => String, :blankish => ->(obj){ obj.nil? }) ff.receive(nil) #=> nil ff.receive("bob") #=> "bob" ff.receive(:bob) #=> Gorillib::Factory::FactoryMismatchError: must be an instance of String, got 3
Generated with the Darkfish Rdoc Generator 2.