Module: ActiveRecord::Dbt::Table::Base

Included in:
DataTest, Yml
Defined in:
lib/active_record/dbt/table/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#table_nameObject (readonly)

Returns the value of attribute table_name.



7
8
9
# File 'lib/active_record/dbt/table/base.rb', line 7

def table_name
  @table_name
end

Instance Method Details

#initialize(table_name) ⇒ Object



9
10
11
12
# File 'lib/active_record/dbt/table/base.rb', line 9

def initialize(table_name)
  @table_name = table_name
  @config = ActiveRecord::Dbt::Config.instance
end