Sha256: 305540b7f51cf7b9a5bc9ed687c3219947d5a642043349a619e241616bd8f3d9

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

require "cuba/rum"
require "haml"
require "tilt"

module Cuba
  class Ron < Rum
    def haml(template, locals = {})
      res.write Tilt::HamlTemplate.new("#{template}.haml").render(self, locals)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cuba-0.0.1 lib/cuba/ron.rb