class NestedText::Errors::ParseLineTagUnknownError

Public Class Methods

new(line, tag) click to toggle source
Calls superclass method NestedText::Errors::ParseError::new
# File lib/nestedtext/errors_internal.rb, line 72
def initialize(line, tag)
  super(line, line.indentation, "The Line tag #{tag} is not among the allowed ones #{Line::ALLOWED_LINE_TAGS}")
end