Sha256: 5d1d1a208df73707aa27f6f5bbd61fa440fd1b56cd9a9e5483f65955ea4ee9c8

Contents?: true

Size: 471 Bytes

Versions: 12

Compression:

Stored size: 471 Bytes

Contents

module Arel
  module Attributes
    class Attribute < Struct.new :relation, :name, :column
      include Arel::Expressions
      include Arel::Predications
    end

    class String    < Attribute; end
    class Time      < Attribute; end
    class Boolean   < Attribute; end
    class Decimal   < Attribute; end
    class Float     < Attribute; end
    class Integer   < Attribute; end
    class Undefined < Attribute; end
  end

  Attribute = Attributes::Attribute
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
arel-2.0.10 lib/arel/attributes/attribute.rb
square-arel-2.0.9.20110222133018 lib/arel/attributes/attribute.rb
arel-2.0.9 lib/arel/attributes/attribute.rb
arel-2.0.9.rc1 lib/arel/attributes/attribute.rb
arel-2.0.8 lib/arel/attributes/attribute.rb
arel-2.0.8.beta.20110131120940 lib/arel/attributes/attribute.rb
arel-2.0.7 lib/arel/attributes/attribute.rb
arel-2.0.7.beta.20110110114925 lib/arel/attributes/attribute.rb
arel-2.0.6 lib/arel/attributes/attribute.rb
arel-2.0.5 lib/arel/attributes/attribute.rb
arel-2.0.4 lib/arel/attributes/attribute.rb
arel-2.0.3 lib/arel/attributes/attribute.rb