Sha256: 0be7a7ff7019e3d5bb2b9da27e89b9788667886d4b8158637cb5f9f290df9133

Contents?: true

Size: 193 Bytes

Versions: 16

Compression:

Stored size: 193 Bytes

Contents

format do
  def render_haml locals={}, template=nil, a_binding=nil, &block
    template ||= yield
    a_binding ||= binding
    ::Haml::Engine.new(template).render(a_binding, locals)
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
card-1.20.1 mod/core/set/all/haml.rb
card-1.20.0 mod/core/set/all/haml.rb
card-1.19.6 mod/core/set/all/haml.rb
card-1.19.5 mod/core/set/all/haml.rb
card-1.19.4 mod/core/set/all/haml.rb
card-1.19.3 mod/core/set/all/haml.rb
card-1.19.2 mod/core/set/all/haml.rb
card-1.19.1 mod/core/set/all/haml.rb
card-1.19.0 mod/core/set/all/haml.rb
card-1.18.6 mod/01_core/set/all/haml.rb
card-1.18.5 mod/01_core/set/all/haml.rb
card-1.18.4 mod/01_core/set/all/haml.rb
card-1.18.3 mod/01_core/set/all/haml.rb
card-1.18.2 mod/01_core/set/all/haml.rb
card-1.18.1 mod/01_core/set/all/haml.rb
card-1.18.0 mod/01_core/set/all/haml.rb