Debian Codegraph @

examples/i18n/mustache_i18n.rb

raw symbols SCIP
1 class Stache18n
2 @@tags = {
3 'comment-and-close' => 'Comment and close',
4 'github' => 'GitHub',
5 'social-coding' => 'Social Coding'
6 }
7
8 def self.t
9 @@tags
10 end
11 end
12
13 puts Mustache.render(<<END, Stache18n)
14 <title>{{t.github}} - {{t.social-coding}}</title>
15 END