mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
15 lines
272 B
Ruby
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
|