Sha256: 013e6682509fa0bedd53b915493b14ba87a12765a519691b102d00f93e5cd61d

Contents?: true

Size: 235 Bytes

Versions: 5

Compression:

Stored size: 235 Bytes

Contents

$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'mustache'

class TemplatePartial < Mustache
  self.path = File.dirname(__FILE__)

  def title
    "Welcome"
  end
end

if $0 == __FILE__
  puts TemplatePartial.to_html
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mustache-0.1.4 examples/template_partial.rb
mustache-0.1.3 examples/template_partial.rb
mustache-0.1.2 examples/template_partial.rb
mustache-0.1.1 examples/template_partial.rb
mustache-0.1.0 examples/template_partial.rb