Method: Bio::AminoAcid::Data#three2name

Defined in:
lib/bio/data/aa.rb

#three2name(x) ⇒ Object



205
206
207
208
209
210
211
# File 'lib/bio/data/aa.rb', line 205

def three2name(x)
  if x and x.length != 3
    raise ArgumentError
  else
    NAMES[x]
  end
end