Method: Onoma::NomenclatureSet#change_item

Defined in:
lib/onoma/nomenclature_set.rb

#change_item(nomenclature_name, item_name, updates = {}) ⇒ Object



169
170
171
172
173
# File 'lib/onoma/nomenclature_set.rb', line 169

def change_item(nomenclature_name, item_name, updates = {})
  nomenclature = find!(nomenclature_name)
  updates = nomenclature.cast_options(updates)
  nomenclature.change_item(item_name, updates)
end