Debian Codegraph @

test/fixtures/passenger.rb

raw symbols SCIP
1 require 'mustache'
2
3 class Passenger < Mustache
4 self.path = File.dirname(__FILE__)
5 self.template_extension = 'conf'
6
7 def server
8 "example.com"
9 end
10
11 def deploy_to
12 "/var/www/example.com"
13 end
14
15 def stage
16 "production"
17 end
18
19 def timestamp
20 Time.now.strftime('%Y%m%d%H%M%S')
21 end
22 end
23
24 if $0 == __FILE__
25 puts Passenger.to_text
26 end