module NestedText::Errors
Public Class Methods
raise_unrecognized_line(line)
click to toggle source
# File lib/nestedtext/errors_internal.rb, line 248 def self.raise_unrecognized_line(line) # [[:space:]] include all Unicode spaces e.g. non-breakable space which \s does not. raise ParseInvalidIndentationCharError, line if line.content.chr =~ /[[:space:]]/ raise ParseLineTagNotDetectedError, line end