Class: AsciiChem::Layout::PositionedAtom

Inherits:
Struct
  • Object
show all
Defined in:
lib/asciichem/layout.rb

Instance Attribute Summary collapse

Instance Attribute Details

#chargeObject

Returns the value of attribute charge

Returns:

  • (Object)

    the current value of charge



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def charge
  @charge
end

#elementObject

Returns the value of attribute element

Returns:

  • (Object)

    the current value of element



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def element
  @element
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def id
  @id
end

#isotopeObject

Returns the value of attribute isotope

Returns:

  • (Object)

    the current value of isotope



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def isotope
  @isotope
end

#multiplicityObject

Returns the value of attribute multiplicity

Returns:

  • (Object)

    the current value of multiplicity



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def multiplicity
  @multiplicity
end

#xObject

Returns the value of attribute x

Returns:

  • (Object)

    the current value of x



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def x
  @x
end

#yObject

Returns the value of attribute y

Returns:

  • (Object)

    the current value of y



28
29
30
# File 'lib/asciichem/layout.rb', line 28

def y
  @y
end