Sinatra – Ruby Gem:
1.gem install sinatra
2. Write code:
jazzez.rb:
require ‘rubygems’
require ‘sinatra’
get ‘/jazzez’ do
home=”https://raveendran.wordpress.com”
link=”<a href=#{home}>#{home}</a>”
“If you want to know about jazzez then go to #{link}”
end
3. Run the program — cmd> ruby jazzez.rb
4. Open this link in browser –> http://localhost:4567/jazzez
Output looks like:
For more details about sinatra,