Class: ChefWorkflow::DatabaseSupport::Collection
- Includes:
- Enumerable
- Defined in:
- lib/chef-workflow/support/db/basic.rb
Instance Attribute Summary
Attributes inherited from Generic
Instance Method Summary collapse
-
#initialize(table_name, object_name) ⇒ Collection
constructor
A new instance of Collection.
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 |