class FactoryGirl::Declaration::Static
Attributes
value[R]
Public Class Methods
new(name, value, ignored = false)
click to toggle source
Calls superclass method
FactoryGirl::Declaration.new
# File lib/factory_girl/declaration/static.rb, line 4 def initialize(name, value, ignored = false) super(name, ignored) @value = value end
Public Instance Methods
==(other)
click to toggle source
# File lib/factory_girl/declaration/static.rb, line 9 def ==(other) name == other.name && value == other.value && ignored == other.ignored end
Private Instance Methods
build()
click to toggle source
# File lib/factory_girl/declaration/static.rb, line 20 def build [Attribute::Static.new(name, @value, @ignored)] end