Sha256: 0d613be46e12903739ce014a47d0385544905d8add6867e6601cc0451c92a3dc
Contents?: true
Size: 291 Bytes
Versions: 11
Compression:
Stored size: 291 Bytes
Contents
module Temple module Filters # Validates temple expression with given grammar # # @api public class Validator < Filter define_options :grammar => Temple::Grammar def compile(exp) options[:grammar].validate!(exp) exp end end end end
Version data entries
11 entries across 11 versions & 1 rubygems