aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/attributes
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/attributes')
-rw-r--r--lib/arel/attributes/attribute.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/attributes/attribute.rb b/lib/arel/attributes/attribute.rb
new file mode 100644
index 0000000000..b83a32bee7
--- /dev/null
+++ b/lib/arel/attributes/attribute.rb
@@ -0,0 +1,13 @@
+module Arel
+ module Attributes
+ class Attribute < Struct.new :relation, :name, :column
+ 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
+ end
+end