Ramaze — Ruby gem
1.gem install ramaze
2. Write code:
jazzez.rb
require ‘rubygems’
require ‘ramaze’
class AnotherController < Ramaze::Controller
map ‘/another’
# http://localhost:7000/another/hello
def hello
home=”https://raveendran.wordpress.com”
link=”<a href=#{home}>#{home}</a>”
“If you want to know about jazzez then go to #{link}”
end
end
Ramaze.start
3. Run the program — cmd> ruby jazzez.rb
4. Open this link in browser –> http://localhost:7000/another/hello
Output looks like,
For more details –>