Class: Plurimath::Unitsml
- Inherits:
-
Object
- Object
- Plurimath::Unitsml
- Defined in:
- lib/plurimath/unitsml.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ Unitsml
constructor
A new instance of Unitsml.
Constructor Details
#initialize(text) ⇒ Unitsml
Returns a new instance of Unitsml.
7 8 9 |
# File 'lib/plurimath/unitsml.rb', line 7 def initialize(text) @text = text end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
5 6 7 |
# File 'lib/plurimath/unitsml.rb', line 5 def text @text end |