Class: Arc::DataStores::ObjectDefinitions::Table

Inherits:
Object
  • Object
show all
Includes:
Collector
Defined in:
lib/arc/data_stores/abstract/object_definitions.rb

Direct Known Subclasses

MysqlTable, PostgresTable, SqliteTable

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, store = nil) ⇒ Table

Returns a new instance of Table.



27
28
29
# File 'lib/arc/data_stores/abstract/object_definitions.rb', line 27

def initialize name, store=nil
  @name, @data_store = name.to_s, store
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



25
26
27
# File 'lib/arc/data_stores/abstract/object_definitions.rb', line 25

def name
  @name
end