| 1 | require 'mustache' |
| 2 | |
| 3 | class Liberal < Mustache |
| 4 | self.path = File.dirname(__FILE__) |
| 5 | |
| 6 | def first_name |
| 7 | "kevin" |
| 8 | end |
| 9 | |
| 10 | def middle_name! |
| 11 | 'j' |
| 12 | end |
| 13 | |
| 14 | def lastName? |
| 15 | 'sheurs' |
| 16 | end |
| 17 | |
| 18 | define_method :'street-address' do |
| 19 | '123 Somewhere St' |
| 20 | end |
| 21 | end |
| 22 | |
| 23 | if $0 == __FILE__ |
| 24 | puts Liberal.to_html |
| 25 | end |