Permalink
3111f42 Mar 11, 2010
25 lines (18 sloc) 316 Bytes
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'mustache'
class Simple < Mustache
self.path = File.dirname(__FILE__)
def name
"Chris"
end
def value
10_000
end
def taxed_value
value - (value * 0.4)
end
def in_ca
true
end
end
puts Simple.render if $0 == __FILE__