Method: Utopia::Content::MarkupParser::UnbalancedTagError#to_s

Defined in:
lib/utopia/content/markup.rb

#to_sObject



78
79
80
81
82
83
84
# File 'lib/utopia/content/markup.rb', line 78

def to_s
  if @closing_tag
    "#{start_location}: #{@opening_tag} was not closed!"
  else
    "#{start_location}: #{@opening_tag} was closed by #{@closing_tag}!"
  end
end