class HighLine::Menu

def to_ary


indexes.
This method returns all menu items to be displayed, complete with
Allows Menu objects to pass as Arrays, for use with HighLine.list().
def to_ary
  @items.map.with_index { |item, ix| decorate_item(item.text.to_s, ix) }
end