Class: FitCommit::MessageParser
- Inherits:
-
Object
- Object
- FitCommit::MessageParser
- Defined in:
- lib/fit_commit/message_parser.rb
Instance Attribute Summary collapse
-
#message_path ⇒ Object
Returns the value of attribute message_path.
Instance Method Summary collapse
-
#initialize(message_path) ⇒ MessageParser
constructor
A new instance of MessageParser.
- #lines ⇒ Object
Constructor Details
#initialize(message_path) ⇒ MessageParser
Returns a new instance of MessageParser.
6 7 8 |
# File 'lib/fit_commit/message_parser.rb', line 6 def initialize() self. = end |
Instance Attribute Details
#message_path ⇒ Object
Returns the value of attribute message_path.
5 6 7 |
# File 'lib/fit_commit/message_parser.rb', line 5 def @message_path end |
Instance Method Details
#lines ⇒ Object
10 11 12 |
# File 'lib/fit_commit/message_parser.rb', line 10 def lines FitCommit::Line.from_text_array(relevant_lines) end |