Sha256: 6506c44178835d7ba63b425877b8c96c8a462f1d75b034253e28c351b30a91fe
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
module FactoryGirl class Declaration attr_reader :name def initialize(name, ignored = false) @name = name @ignored = ignored end def ignore $stderr.puts "DEPRECATION WARNING: Use ignore block syntax instead of calling #ignore" @ignored = true end def to_attributes build end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
factory_girl-2.2.0 | lib/factory_girl/declaration.rb |