Sha256: 62f73e1a2c5d943a4cc4fda65f929dfb73df08b1262b790d38ff34170b591dd9
Contents?: true
Size: 368 Bytes
Versions: 27
Compression:
Stored size: 368 Bytes
Contents
require 'sinatra' class SinatraSimple < Sinatra::Base set :reload, true get "/" do 'The magick number is: 2767356926488785838763860464013972991031534522105386787489885890443740254365!' # Change only the number!!! end get "/rand" do rand(2 ** 256).to_s end get "/render" do render :erb, "This is an erb render" end end use SinatraSimple
Version data entries
27 entries across 27 versions & 1 rubygems