Sha256: bf65605f7e0c0cc6daacdcb036daa6afd5e8080df2af7a64e3446654ea8263a8
Contents?: true
Size: 452 Bytes
Versions: 48
Compression:
Stored size: 452 Bytes
Contents
require 'slim' require 'slim/logic_less' require 'slim/translator' require 'slim/grammar' require 'minitest/autorun' Slim::Engine.after Slim::Parser, Temple::Filters::Validator, grammar: Slim::Grammar Slim::Engine.before :Pretty, Temple::Filters::Validator Slim::Engine.set_options tr: false, logic_less: false class MiniTest::Spec def render(source, options = {}, &block) Slim::Template.new(options) { source }.render(self, &block) end end
Version data entries
48 entries across 48 versions & 5 rubygems