Exception: Inform::Parser::ParserError
- Inherits:
-
StandardError
- Object
- StandardError
- Inform::Parser::ParserError
- Defined in:
- lib/inform/parserm.h.rb
Overview
The ParserError error class
Direct Known Subclasses
AnimateExpected, AskScope, CannotUnderstandSentence, CantSeeError, ExceptedUnnecessarily, ItGone, JunkAfter, MultipleMultiples, NotHeld, NothingMatched, NumberUnrecognized, PartiallyUnderstood, SceneryIsIrrelevant, TooFew, TooLittle, UnexpectedMultiple, Vague, VerbUnrecognized
Class Attribute Summary collapse
-
.code ⇒ Object
readonly
Returns the value of attribute code.
Class Method Summary collapse
Class Attribute Details
.code ⇒ Object (readonly)
Returns the value of attribute code.
4828 4829 4830 |
# File 'lib/inform/parserm.h.rb', line 4828 def code @code end |
Class Method Details
.<(other) ⇒ Object
4834 4835 4836 |
# File 'lib/inform/parserm.h.rb', line 4834 def <(other) self.code < other.code end |
.>(other) ⇒ Object
4830 4831 4832 |
# File 'lib/inform/parserm.h.rb', line 4830 def >(other) self.code > other.code end |
.to_s ⇒ Object
4838 4839 4840 |
# File 'lib/inform/parserm.h.rb', line 4838 def to_s "#{self.name}:#{self.code}" end |