Class: Utilities::Elevation::MethodFromLabel
- Inherits:
-
Object
- Object
- Utilities::Elevation::MethodFromLabel
- Defined in:
- lib/utilities/elevation.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#verbatim_label ⇒ Object
readonly
Returns the value of attribute verbatim_label.
Instance Method Summary collapse
-
#initialize(label) ⇒ MethodFromLabel
constructor
A new instance of MethodFromLabel.
Constructor Details
#initialize(label) ⇒ MethodFromLabel
Returns a new instance of MethodFromLabel.
8 9 10 11 |
# File 'lib/utilities/elevation.rb', line 8 def initialize(label) @verbatim_label = label @collecting_method = Utilities::Elevation.elevation_regex_from_verbatim_label(text) end |
Instance Attribute Details
#date ⇒ Object (readonly)
Returns the value of attribute date.
5 6 7 |
# File 'lib/utilities/elevation.rb', line 5 def date @date end |
#verbatim_label ⇒ Object (readonly)
Returns the value of attribute verbatim_label.
5 6 7 |
# File 'lib/utilities/elevation.rb', line 5 def verbatim_label @verbatim_label end |