Methods

FactoryGirl::Declaration::Dynamic

Attributes

block[R]

Public Class Methods

new(name, ignored = false, block = nil) click to toggle source
# File lib/factory_girl/declaration/dynamic.rb, line 4
def initialize(name, ignored = false, block = nil)
  super(name, ignored)
  @block = block
end

Public Instance Methods

==(other) click to toggle source
# File lib/factory_girl/declaration/dynamic.rb, line 9
def ==(other)
  name == other.name &&
    ignored == other.ignored &&
    block == other.block
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.