Exception: HtmlConditionalComment::ParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/html-conditional-comment/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(msg, example) ⇒ ParseError

Returns a new instance of ParseError.



3
4
5
# File 'lib/html-conditional-comment/parser.rb', line 3

def initialize(msg, example)
  super("#{msg} at \"#{example.slice(0, 25)}\"")
end