Debian Codegraph @

test/fixtures/template_partial.rb

raw symbols SCIP
1 require 'mustache'
2
3 class TemplatePartial < Mustache
4 self.path = File.dirname(__FILE__)
5
6 def title
7 "Welcome"
8 end
9
10 def title_bars
11 '-' * title.size
12 end
13 end
14
15 if $0 == __FILE__
16 puts TemplatePartial.to_html
17 end