Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (30 sloc) 687 Bytes
layout: default
title: Sinatra
id: home
<div class='pipe nav'>
<pre><a href='intro'>README</a>
<a href='documentation'>Documentation</a>
<a href='contributing'>Contribute</a>
<a href=''>Code</a>
<a href=''>Crew</a>
<a href='about'>About</a>
<div class='pipe ruby'>
<pre><code>require 'sinatra'
get '/hi' do
"Hello World!"
<p>Put this in<br>your pipe</p>
<div class='pipe shell'>
<pre><code>$ gem install sinatra
$ ruby -rubygems hi.rb
== Sinatra has taken the stage ...
>> Listening on
<p>and smoke it</p>