Created
May 10, 2015 08:46
-
-
Save darui00kara/81d0e867451b076a1af6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# File Name: sinatraTest.rb | |
# Create Day is 2015/05/08 | |
# Last Update Day is 2015/05/08 | |
# Gem List | |
gem 'tilt', '1.4.1' | |
# Require List | |
require 'sinatra' | |
# sinatra reloader is classic type | |
require 'sinatra/reloader' if development? | |
require 'tilt' | |
get '/' do | |
@title = "Hello world!!" | |
@text = "erb Test!!" | |
erb :view | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment