Class: LasReader::Mnemonic
- Inherits:
-
Object
- Object
- LasReader::Mnemonic
- Defined in:
- lib/las_reader/mnemonic.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#unit ⇒ Object
readonly
Returns the value of attribute unit.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(name, unit, value, info) ⇒ Mnemonic
constructor
A new instance of Mnemonic.
Constructor Details
#initialize(name, unit, value, info) ⇒ Mnemonic
Returns a new instance of Mnemonic.
3 4 5 6 7 8 |
# File 'lib/las_reader/mnemonic.rb', line 3 def initialize(name,unit,value,info) @name = name @unit = unit @value = value @description = info end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
2 3 4 |
# File 'lib/las_reader/mnemonic.rb', line 2 def description @description end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
2 3 4 |
# File 'lib/las_reader/mnemonic.rb', line 2 def name @name end |
#unit ⇒ Object (readonly)
Returns the value of attribute unit.
2 3 4 |
# File 'lib/las_reader/mnemonic.rb', line 2 def unit @unit end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
2 3 4 |
# File 'lib/las_reader/mnemonic.rb', line 2 def value @value end |