Module: Bio::Shell::Private

Defined in:
lib/bio/shell/plugin/keggapi.rb

Class Method Summary collapse

Class Method Details

.keggapi_definition2tab(list) ⇒ Object



17
18
19
20
21
22
23
# File 'lib/bio/shell/plugin/keggapi.rb', line 17

def keggapi_definition2tab(list)
  ary = []
  list.each do |entry|
    ary << "#{entry.entry_id}\t#{entry.definition}"
  end
  return ary
end