class FactoryBot::Sequence
def initialize(name, *args, &proc)
def initialize(name, *args, &proc) @name = name @proc = proc options = args.extract_options! @value = args.first || 1 @aliases = options.fetch(:aliases) { [] } unless @value.respond_to?(:peek) @value = EnumeratorAdapter.new(@value) end end