Class: Drudge::Parsers::ParseResults::Error
- Inherits:
-
Struct
- Object
- Struct
- Drudge::Parsers::ParseResults::Error
- Includes:
- NotSuccess
- Defined in:
- lib/drudge/parsers/parse_results.rb
Overview
An error doesn’t allow backtracking
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
Method Summary
Methods included from NotSuccess
#flat_map, #flat_map_with_next, #map, #map_in_parse_value, #success?
Methods included from ParseResult
#+, #flat_map, #flat_map_with_next, #map, #map_in_parse_value, #success?
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
139 140 141 |
# File 'lib/drudge/parsers/parse_results.rb', line 139 def @message end |
#remaining ⇒ Object
Returns the value of attribute remaining
139 140 141 |
# File 'lib/drudge/parsers/parse_results.rb', line 139 def remaining @remaining end |