Class: FactoryGirl::Declaration::Implicit
- Inherits:
-
FactoryGirl::Declaration
- Object
- FactoryGirl::Declaration
- FactoryGirl::Declaration::Implicit
- Defined in:
- lib/factory_girl/declaration/implicit.rb
Instance Attribute Summary
Attributes inherited from FactoryGirl::Declaration
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(name, factory = nil, ignored = false) ⇒ Implicit
constructor
A new instance of Implicit.
Methods inherited from FactoryGirl::Declaration
Constructor Details
#initialize(name, factory = nil, ignored = false) ⇒ Implicit
Returns a new instance of Implicit.
4 5 6 7 |
# File 'lib/factory_girl/declaration/implicit.rb', line 4 def initialize(name, factory = nil, ignored = false) super(name, ignored) @factory = factory end |
Instance Method Details
#==(other) ⇒ Object
9 10 11 12 13 |
# File 'lib/factory_girl/declaration/implicit.rb', line 9 def ==(other) name == other.name && factory == other.factory && ignored == other.ignored end |