Class: RubyChem::Lewis
- Inherits:
-
Object
- Object
- RubyChem::Lewis
- Defined in:
- lib/rubychem/lewis.rb
Constant Summary collapse
- Valence =
{"O" => 6, "C" => 4}
- Species =
[["C"], ["O", "2"]]
Instance Attribute Summary collapse
-
#structure ⇒ Object
Returns the value of attribute structure.
Instance Method Summary collapse
-
#initialize ⇒ Lewis
constructor
A new instance of Lewis.
Constructor Details
Instance Attribute Details
#structure ⇒ Object
Returns the value of attribute structure.
3 4 5 |
# File 'lib/rubychem/lewis.rb', line 3 def structure @structure end |