class ActiveRecord::Base

Public Class Methods

[](ind) click to toggle source
# File lib/raspy.rb, line 13
def self.[](ind)
  Rusql::Column.new( self.as_rusql_table, ind )
end
as_rusql_table() click to toggle source
# File lib/raspy.rb, line 6
def self.as_rusql_table
  t = Rusql::Table.new
  t.name = self.table_name.to_sym

  t
end