Sha256: 355b86851a9d64e22acf0cf4b28b3520221853f54ed8c174b102c81072df725e

Contents?: true

Size: 292 Bytes

Versions: 3

Compression:

Stored size: 292 Bytes

Contents

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

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

  def first_name
    "kevin"
  end

  def middle_name!
    'j'
  end

  def lastName?
    'sheurs'
  end
end

if $0 == __FILE__
  puts Liberal.to_html
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mustache-0.99.8 test/fixtures/liberal.rb
mustache-0.99.7 test/fixtures/liberal.rb
mustache-0.99.6 test/fixtures/liberal.rb