class FactoryBot::Declaration

@api private

Attributes

ignored[R]
name[R]

Public Class Methods

new(name, ignored = false) click to toggle source
# File lib/factory_bot/declaration.rb, line 10
def initialize(name, ignored = false)
  @name = name
  @ignored = ignored
end

Public Instance Methods

to_attributes() click to toggle source
# File lib/factory_bot/declaration.rb, line 15
def to_attributes
  build
end