Sha256: 42d8ccfaacb612fbd88714b21c31c417b6ebb1fc7f377cda7ed6c8d6c094b1ef
Contents?: true
Size: 498 Bytes
Versions: 113
Compression:
Stored size: 498 Bytes
Contents
module FactoryGirl class Declaration # @api private class Dynamic < Declaration def initialize(name, ignored = false, block = nil) super(name, ignored) @block = block end def ==(other) 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
113 entries across 100 versions & 12 rubygems