class Haml::StringSplitter::SyntaxChecker
Public Class Methods
Source
# File lib/haml/string_splitter.rb, line 120 def self.syntax_error?(code) self.new(code).parse false rescue ParseError true end
Private Instance Methods
Source
# File lib/haml/string_splitter.rb, line 129 def on_parse_error(*) raise ParseError end