Exception: NestedText::Errors::ParseInlineExtraCharactersAfterDelimiterError
- Inherits:
-
ParseError
- Object
- StandardError
- NestedText::Error
- InternalError
- ParseError
- NestedText::Errors::ParseInlineExtraCharactersAfterDelimiterError
- Defined in:
- lib/nestedtext/errors_internal.rb
Instance Attribute Summary
Attributes inherited from ParseError
Instance Method Summary collapse
-
#initialize(line, colno, extra_chars) ⇒ ParseInlineExtraCharactersAfterDelimiterError
constructor
A new instance of ParseInlineExtraCharactersAfterDelimiterError.
Constructor Details
#initialize(line, colno, extra_chars) ⇒ ParseInlineExtraCharactersAfterDelimiterError
Returns a new instance of ParseInlineExtraCharactersAfterDelimiterError.
126 127 128 129 |
# File 'lib/nestedtext/errors_internal.rb', line 126 def initialize(line, colno, extra_chars) character_str = extra_chars.length > 1 ? 'characters' : 'character' super(line, line.indentation + colno, "extra #{character_str} after closing delimiter: ‘#{extra_chars}’.") end |