Method: Zermelo::Associations::Index#add_id

Defined in:
lib/zermelo/associations/index.rb

#add_id(id, value) ⇒ Object



27
28
29
30
# File 'lib/zermelo/associations/index.rb', line 27

def add_id(id, value)
  return unless indexer = key(value)
  @backend.add(indexer, id)
end