class

Chem::Chain

Inherits Comparable < Reference < Object

Instance methods

id=(id : Char) : Char

Changes the chain identifier. Raises ArgumentError if id is not alphanumeric or another chain of the structure already has it.

Source