Class: Utilities::Elevation::MethodFromLabel

Inherits:
Object
  • Object
show all
Defined in:
lib/utilities/elevation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label) ⇒ MethodFromLabel

Returns a new instance of MethodFromLabel.

Parameters:

  • label (String)


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

#dateObject (readonly)

Returns the value of attribute date.



5
6
7
# File 'lib/utilities/elevation.rb', line 5

def date
  @date
end

#verbatim_labelObject (readonly)

Returns the value of attribute verbatim_label.



5
6
7
# File 'lib/utilities/elevation.rb', line 5

def verbatim_label
  @verbatim_label
end