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

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/slim-4.1.0/test/literate/helper.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/slim-4.1.0/test/literate/helper.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/slim-4.1.0/test/literate/helper.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/slim-4.1.0/test/literate/helper.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/slim-4.1.0/test/literate/helper.rb
slim-5.1.1 test/literate/helper.rb
slim-5.1.0 test/literate/helper.rb
slim-5.0.0 test/literate/helper.rb
slim-4.1.0 test/literate/helper.rb
slim-4.0.1 test/literate/helper.rb
slim-4.0.0 test/literate/helper.rb
brakeman-4.3.1 bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-4.3.0 bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-4.2.1 bundle/ruby/2.5.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-4.2.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-4.1.1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-4.1.0 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
slim-3.0.9 test/literate/helper.rb
brakeman-4.0.1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb
brakeman-4.0.1.pre1 bundle/ruby/2.3.0/gems/slim-3.0.7/test/literate/helper.rb