Class: ActiveRecord::NoRdbBase

Inherits:
Base
  • Object
show all
Defined in:
lib/no_rdb_base.rb

Direct Known Subclasses

Analysis

Class Method Summary collapse

Class Method Details

.columnsObject



27
28
29
# File 'lib/no_rdb_base.rb', line 27

def columns
  @columns
end

.connectionObject



18
19
20
# File 'lib/no_rdb_base.rb', line 18

def connection
  raise "this is NoRdbBase class. No connection exists"
end

.push_column(column) ⇒ Object



22
23
24
25
# File 'lib/no_rdb_base.rb', line 22

def push_column(column)
  @columns ||= Array.new
  @columns.push column
end