Class: ChefWorkflow::DatabaseSupport::Collection

Inherits:
Generic
  • Object
show all
Includes:
Enumerable
Defined in:
lib/chef-workflow/support/db/basic.rb

Direct Known Subclasses

List, Set

Instance Attribute Summary

Attributes inherited from Generic

#db

Instance Method Summary collapse

Methods inherited from Generic

#_dump, _load, #create_table, #post_marshal_init

Constructor Details

#initialize(table_name, object_name) ⇒ Collection

Returns a new instance of Collection.



69
70
71
72
# File 'lib/chef-workflow/support/db/basic.rb', line 69

def initialize(table_name, object_name)
  raise "an object_name must be provided!" unless object_name
  super
end