Class: Utilities::CollectingMethods::MethodFromLabel
- Inherits:
-
Object
- Object
- Utilities::CollectingMethods::MethodFromLabel
- Defined in:
- lib/utilities/collecting_methods.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.
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
#date ⇒ Object (readonly)
Returns the value of attribute date.
66 67 68 |
# File 'lib/utilities/collecting_methods.rb', line 66 def date @date end |
#verbatim_label ⇒ Object (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 |