class MdlSql::Col
Attributes
col[RW]
@!attribute table [Table] @!attribute col [Symbol]
table[RW]
@!attribute table [Table] @!attribute col [Symbol]
Public Class Methods
new(col, table)
click to toggle source
@param table [Table] @param col [Symbol]
# File lib/mdlsql/col.rb, line 26 def initialize col, table # table = table.to_sym if table.is_a? String col = col.to_sym if col.is_a? String if table.is_a? String || table.is_a? table = Table.new table end @table = table @col = col end