Sha256: d2daaceef50885acb2a478acbe7d0bbf10f1292d1284ad7c71967dc425ea025a
Contents?: true
Size: 537 Bytes
Versions: 28
Compression:
Stored size: 537 Bytes
Contents
module FactoryBot class Declaration # @api private class Dynamic < Declaration def initialize(name, ignored = false, block = nil) super(name, ignored) @block = block end def ==(other) self.class == other.class && name == other.name && ignored == other.ignored && block == other.block end protected attr_reader :block private def build [Attribute::Dynamic.new(name, @ignored, @block)] end end end end
Version data entries
28 entries across 27 versions & 3 rubygems