/usr/share/doc/ruby-ramaze/examples/basic/hello.rb is in ruby-ramaze 2012.12.08-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | require 'rubygems'
require 'ramaze'
# Start this example with `ruby hello.rb`.
# After startup you will be able to access it at http://localhost:7000/
# This should output "Hello, World!" in your browser.
class MainController < Ramaze::Controller
def index
"Hello, World!"
end
end
Ramaze.start
|