Class: AsciiChem::PeriodicTable::Element
- Inherits:
-
Struct
- Object
- Struct
- AsciiChem::PeriodicTable::Element
- Defined in:
- lib/asciichem/periodic_table.rb
Instance Attribute Summary collapse
-
#atomic_number ⇒ Object
Returns the value of attribute atomic_number.
-
#max_valence ⇒ Object
Returns the value of attribute max_valence.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
Instance Attribute Details
#atomic_number ⇒ Object
Returns the value of attribute atomic_number
13 14 15 |
# File 'lib/asciichem/periodic_table.rb', line 13 def atomic_number @atomic_number end |
#max_valence ⇒ Object
Returns the value of attribute max_valence
13 14 15 |
# File 'lib/asciichem/periodic_table.rb', line 13 def max_valence @max_valence end |
#symbol ⇒ Object
Returns the value of attribute symbol
13 14 15 |
# File 'lib/asciichem/periodic_table.rb', line 13 def symbol @symbol end |