lib/kitchen/id_tracker.rb
# Keeps track that an element with the given ID has been pasted.
#
# @param id [String]
#
Keeps track that an element with the given ID has been pasted.
Keeps track that an element with the given ID has been pasted .
def record_id_pasted(id)
      return if id.blank?
      @id_data[id][:count] += 1 if @id_data[id][:last_pasted]
      @id_data[id][:last_pasted] = true
    end
def record_id_pasted ( id ) return if id . blank? @id_data [ id ] [ :count ] += 1 if @id_data [ id ] [ :last_pasted ] @id_data [ id ] [ :last_pasted ] = true end
Keeps track that an element with the given ID has been pasted.
Keeps track that an element with the given ID has been pasted .
id
<not_specific>
<not_specific>
None