examples/passenger.rb in mustache-0.2.1 vs examples/passenger.rb in mustache-0.2.2
- old
+ new
@@ -1,10 +1,9 @@
$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
require 'mustache'
class Passenger < Mustache
-
self.path = File.dirname(__FILE__)
self.template_extension = 'conf'
def server
"example.com"
@@ -19,11 +18,10 @@
end
def timestamp
Time.now.strftime('%Y%m%d%H%M%S')
end
-
end
if $0 == __FILE__
puts Passenger.to_text
-end
\ No newline at end of file
+end