Skip to content

@andyhawthorne /sinatra_erb_example.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sinatra method with instance variable
get '/' do
@time = Time.new
erb :index
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.