Sinatra

by msypniewski511 in Ruby, Ruby on Rails

What is Sinatra?

Sinatra is a Domain Specific Language (DSL) for quickly creating web-applications in Ruby.
Sinatra Intro (Book Edition)

Up and running.

require 'sinatra'

get '/' do
  "Hello, world!"
end

Routing

**

0 Replies


Leave a replay

To replay you need to login. Don't have an account? Sign up for one.