Module: Bio::KEGG::Common::DiseasesAsHash
Overview
This module provides diseases_as_hash method.
Bio::KEGG::* internal use only.
Instance Method Summary collapse
-
#diseases_as_hash ⇒ Object
Returns a Hash of the disease ID and its definition.
Instance Method Details
#diseases_as_hash ⇒ Object
Returns a Hash of the disease ID and its definition
219 220 221 222 223 224 |
# 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 |