lib/onoma/nomenclature.rb
# List all item names. Can filter on a given item name and its children
List all item names. Can filter on a given item name and its children
List all item names . Can filter on a given item name and its children
def to_a(item_name = nil)
      if item_name.present? && @items[item_name]
        @items[item_name].self_and_children.map(&:name)
      else
        @items.keys.sort
      end
    end
def to_a ( item_name = nil ) if item_name . present? && @items [ item_name ] @items [ item_name ] . self_and_children . map ( & :name ) else @items . keys . sort end end
List all item names.
List all item names .
item_name
<not_specific>