Sha256: 83366010567cba65aedd9ff8634e17bc4fe490c01653e20e5d5377276e507fbf

Contents?: true

Size: 260 Bytes

Versions: 14

Compression:

Stored size: 260 Bytes

Contents

module FactoryGirl
  class Attribute #:nodoc:

    class Static < Attribute  #:nodoc:

      def initialize(name, value)
        super(name)
        @value = value
      end

      def add_to(proxy)
        proxy.set(name, @value)
      end
    end

  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
factory_girl-2.0.2 lib/factory_girl/attribute/static.rb
factory_girl-2.0.1 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.rc4 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.rc3 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.rc2 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.rc1 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.beta5 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.beta4 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.beta3 lib/factory_girl/attribute/static.rb
factory_girl_kibiz0r-2.0.0.beta3 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.beta2 lib/factory_girl/attribute/static.rb
vitalish-factory_girl-1.2.5 lib/factory_girl/attribute/static.rb
vitalish-factory_girl-1.2.4 lib/factory_girl/attribute/static.rb
factory_girl-2.0.0.beta1 lib/factory_girl/attribute/static.rb