-
-# Expading class Hash with possibly evil monkey patch.
-class Hash
- # Method to convert scores from ASCII encode string to
- # a semi-colon seperated string of decimal values.
- def scores2dec!
- if self[:SCORES]
- self[:SCORES].gsub! /./ do |score|
- score = (score.ord - Seq::SCORE_BASE).to_s + ";"
- end
-
- self[:SCORES].chomp! ";"
- end
-
- self
- end
-end