Class: AsciiChem::Layout::PositionedAtom
- Inherits:
-
Struct
- Object
- Struct
- AsciiChem::Layout::PositionedAtom
- Defined in:
- lib/asciichem/layout.rb
Instance Attribute Summary collapse
-
#charge ⇒ Object
Returns the value of attribute charge.
-
#element ⇒ Object
Returns the value of attribute element.
-
#id ⇒ Object
Returns the value of attribute id.
-
#isotope ⇒ Object
Returns the value of attribute isotope.
-
#multiplicity ⇒ Object
Returns the value of attribute multiplicity.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#charge ⇒ Object
Returns the value of attribute charge
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def charge @charge end |
#element ⇒ Object
Returns the value of attribute element
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def element @element end |
#id ⇒ Object
Returns the value of attribute id
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def id @id end |
#isotope ⇒ Object
Returns the value of attribute isotope
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def isotope @isotope end |
#multiplicity ⇒ Object
Returns the value of attribute multiplicity
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def multiplicity @multiplicity end |
#x ⇒ Object
Returns the value of attribute x
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def x @x end |
#y ⇒ Object
Returns the value of attribute y
28 29 30 |
# File 'lib/asciichem/layout.rb', line 28 def y @y end |