Class: FactoryGirl::Declaration::Static Private
- Inherits:
-
FactoryGirl::Declaration
- Object
- FactoryGirl::Declaration
- FactoryGirl::Declaration::Static
- Defined in:
- lib/factory_girl/declaration/static.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary
Attributes inherited from FactoryGirl::Declaration
Instance Method Summary collapse
- #==(other) ⇒ Object private
-
#initialize(name, value, ignored = false) ⇒ Static
constructor
private
A new instance of Static.
Methods inherited from FactoryGirl::Declaration
Constructor Details
#initialize(name, value, ignored = false) ⇒ Static
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Static.
5 6 7 8 |
# File 'lib/factory_girl/declaration/static.rb', line 5 def initialize(name, value, ignored = false) super(name, ignored) @value = value end |
Instance Method Details
#==(other) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
10 11 12 13 14 |
# File 'lib/factory_girl/declaration/static.rb', line 10 def ==(other) name == other.name && value == other.value && ignored == other.ignored end |