Sha256: 1a966622b7b2eaf8dbf6b0102ff5c35a8290985c820f6f6ec06f8c9b30e5c7fc

Contents?: true

Size: 452 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
slim-5.2.1 test/literate/helper.rb
slim-5.2.0 test/literate/helper.rb