Class: ParserCombinator::StandardFailStatus
- Inherits:
-
Object
- Object
- ParserCombinator::StandardFailStatus
- Defined in:
- lib/parser_combinator.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#rest ⇒ Object
readonly
Returns the value of attribute rest.
Instance Method Summary collapse
-
#initialize(message, rest) ⇒ StandardFailStatus
constructor
A new instance of StandardFailStatus.
Constructor Details
#initialize(message, rest) ⇒ StandardFailStatus
Returns a new instance of StandardFailStatus.
22 23 24 |
# File 'lib/parser_combinator.rb', line 22 def initialize(, rest) @message, @rest = , rest end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
21 22 23 |
# File 'lib/parser_combinator.rb', line 21 def @message end |
#rest ⇒ Object (readonly)
Returns the value of attribute rest.
21 22 23 |
# File 'lib/parser_combinator.rb', line 21 def rest @rest end |