Class: Temple::Filters::StringSplitter::SyntaxChecker
- Defined in:
- lib/temple/filters/string_splitter.rb
Defined Under Namespace
Classes: ParseError
Class Method Summary collapse
Class Method Details
.syntax_error?(code) ⇒ Boolean
121 122 123 124 125 126 |
# File 'lib/temple/filters/string_splitter.rb', line 121 def self.syntax_error?(code) self.new(code).parse false rescue ParseError true end |