module Bio::KEGG::Common::DiseasesAsHash

This module provides #diseases_as_hash method.

Bio::KEGG::* internal use only.

Public Instance Methods

diseases_as_hash() click to toggle source

Returns a Hash of the disease ID and its definition

# File lib/bio/db/kegg/common.rb, line 219
def diseases_as_hash
  unless (defined? @diseases_as_hash) && @diseases_as_hash
    @diseases_as_hash = strings_as_hash(diseases_as_strings)
  end
  @diseases_as_hash
end