Class: AsciiChem::ModelAdapter::Translation
- Inherits:
-
Struct
- Object
- Struct
- AsciiChem::ModelAdapter::Translation
- Defined in:
- lib/asciichem/model_adapter.rb
Overview
Result of a translation that also exposes the per-atom mapping
(canonical_atom_id => AsciiChem::Model::Atom) and the per-molecule
group structure (molecule_id => Array
Instance Attribute Summary collapse
-
#atom_mapping ⇒ Object
Returns the value of attribute atom_mapping.
-
#document ⇒ Object
Returns the value of attribute document.
-
#groups ⇒ Object
Returns the value of attribute groups.
Instance Attribute Details
#atom_mapping ⇒ Object
Returns the value of attribute atom_mapping
32 33 34 |
# File 'lib/asciichem/model_adapter.rb', line 32 def atom_mapping @atom_mapping end |
#document ⇒ Object
Returns the value of attribute document
32 33 34 |
# File 'lib/asciichem/model_adapter.rb', line 32 def document @document end |
#groups ⇒ Object
Returns the value of attribute groups
32 33 34 |
# File 'lib/asciichem/model_adapter.rb', line 32 def groups @groups end |