Debian Codegraph @

test/fixtures/delimiters.rb

raw symbols SCIP
1 require 'mustache'
2
3 class Delimiters < Mustache
4 self.path = File.dirname(__FILE__)
5
6 def start
7 "It worked the first time."
8 end
9
10 def middle
11 [ { :item => "And it worked the second time." },
12 { :item => "As well as the third." } ]
13 end
14
15 def final
16 "Then, surprisingly, it worked the final time."
17 end
18 end
19
20 if $0 == __FILE__
21 puts Delimiters.to_html
22 end