Sha256: b51abebc345cab9a7c278f29c3677a33989efefe922b62b724e64082a095e7da
Contents?: true
Size: 438 Bytes
Versions: 11
Compression:
Stored size: 438 Bytes
Contents
require 'cgi' module Precious module Views class Layout < Mustache include Rack::Utils alias_method :h, :escape_html attr_reader :name, :path def escaped_name CGI.escape(@name) end def title "Home" end def has_path !@path.nil? end def base_url @base_url end def css # custom css @css end end end end
Version data entries
11 entries across 11 versions & 1 rubygems