aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arel/table.rb')
-rw-r--r--lib/arel/table.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/arel/table.rb b/lib/arel/table.rb
new file mode 100644
index 0000000000..e4056074ae
--- /dev/null
+++ b/lib/arel/table.rb
@@ -0,0 +1,15 @@
+module Arel
+ class Table
+ @engine = nil
+ class << self; attr_accessor :engine; end
+
+ def initialize table_name, engine
+ @table_name = table_name
+ @engine = engine
+ end
+
+ def [] attribute
+ raise attribute
+ end
+ end
+end