aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/table.rb
blob: a4ae9bd18d0e4f9507ff9ce185b8990d04a93781 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Arel
  class Table
    @engine = nil
    class << self; attr_accessor :engine; end

    def initialize table_name, engine = Table.engine
      @table_name = table_name
      @engine     = engine
    end

    def [] attribute
      raise attribute
    end
  end
end