Module: Chef::IndexQueue::Indexable::ClassMethods

Defined in:
lib/chef/index_queue/indexable.rb

Instance Method Summary collapse

Instance Method Details

#index_object_type(explicit_type_name = nil) ⇒ Object



28
29
30
31
# File 'lib/chef/index_queue/indexable.rb', line 28

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



34
35
36
# File 'lib/chef/index_queue/indexable.rb', line 34

def reset_index_metadata!
  @index_object_type = nil
end