Debian Codegraph @

test/fixtures/simple.rb

raw symbols SCIP
1 require 'mustache'
2
3 class Simple < Mustache
4 self.path = File.dirname(__FILE__)
5
6 def name
7 "Chris"
8 end
9
10 def value
11 10_000
12 end
13
14 def taxed_value
15 value - (value * 0.4)
16 end
17
18 def in_ca
19 true
20 end
21 end
22
23 if $0 == __FILE__
24 puts Simple.to_html
25 end