Module: Chef::IndexQueue::Indexable::ClassMethods
- Defined in:
- lib/chef/index_queue/indexable.rb
Instance Method Summary collapse
- #index_object_type(explicit_type_name = nil) ⇒ Object
-
#reset_index_metadata! ⇒ Object
Resets all metadata used for indexing to nil.
Instance Method Details
#index_object_type(explicit_type_name = nil) ⇒ Object
25 26 27 28 |
# File 'lib/chef/index_queue/indexable.rb', line 25 def index_object_type(explicit_type_name=nil) @index_object_type = explicit_type_name.to_s if explicit_type_name @index_object_type end |
#reset_index_metadata! ⇒ Object
Resets all metadata used for indexing to nil. Used for testing
31 32 33 |
# File 'lib/chef/index_queue/indexable.rb', line 31 def @index_object_type = nil end |