1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/table.rb
2010-08-12 14:24:21 -07:00

15 lines
272 B
Ruby

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