Class: Foobara::Persistence::EntityBase::Table

Inherits:
Object
  • Object
show all
Defined in:
foobara-0.0.110/projects/persistence/src/entity_base/table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(table_name, entity_base) ⇒ Table

Returns a new instance of Table.



7
8
9
10
# File 'foobara-0.0.110/projects/persistence/src/entity_base/table.rb', line 7

def initialize(table_name, entity_base)
  self.entity_base = entity_base
  self.table_name = table_name
end

Instance Attribute Details

#entity_baseObject

Returns the value of attribute entity_base.



5
6
7
# File 'foobara-0.0.110/projects/persistence/src/entity_base/table.rb', line 5

def entity_base
  @entity_base
end

#table_nameObject

Returns the value of attribute table_name.



5
6
7
# File 'foobara-0.0.110/projects/persistence/src/entity_base/table.rb', line 5

def table_name
  @table_name
end