Debian Codegraph @

test/fixtures/namespaced.rb

raw symbols SCIP
1 require 'mustache'
2
3 module TestViews
4 class Namespaced < Mustache
5 self.path = File.dirname(__FILE__)
6
7 def title
8 "Dragon < Tiger"
9 end
10 end
11
12 class NamespacedWithPartial < Mustache
13 self.path = File.dirname(__FILE__)
14 self.template = "My opinion: {{>inner_partial}}"
15
16 def title
17 "Victory"
18 end
19 end
20 end
21
22 if $0 == __FILE__
23 puts TestViews::Namespaced.to_html
24 end