Class: Foobara::Persistence::EntityBase::Table
- Inherits:
-
Object
- Object
- Foobara::Persistence::EntityBase::Table
- Defined in:
- foobara-0.0.110/projects/persistence/src/entity_base/table.rb
Instance Attribute Summary collapse
-
#entity_base ⇒ Object
Returns the value of attribute entity_base.
-
#table_name ⇒ Object
Returns the value of attribute table_name.
Instance Method Summary collapse
-
#initialize(table_name, entity_base) ⇒ Table
constructor
A new instance of Table.
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_base ⇒ Object
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_name ⇒ Object
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 |