Class: Utilities::CollectingMethods::MethodFromLabel

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label) ⇒ MethodFromLabel

Returns a new instance of MethodFromLabel.

Parameters:

  • label (String)


69
70
71
72
# File 'lib/utilities/collecting_methods.rb', line 69

def initialize(label)
  @verbatim_label = label
  @collecting_method = Utilities::CollectingMethods.method_regex_from_verbatim_label(label)
end

Instance Attribute Details

#dateObject (readonly)

Returns the value of attribute date.



66
67
68
# File 'lib/utilities/collecting_methods.rb', line 66

def date
  @date
end

#verbatim_labelObject (readonly)

Returns the value of attribute verbatim_label.



66
67
68
# File 'lib/utilities/collecting_methods.rb', line 66

def verbatim_label
  @verbatim_label
end