Skip to content

Instantly share code, notes, and snippets.

@beakr
Created April 10, 2012 17:42
Show Gist options
  • Save beakr/2353181 to your computer and use it in GitHub Desktop.
Save beakr/2353181 to your computer and use it in GitHub Desktop.
Sinatra app with Rate
require 'sinatra'
require 'rate'
get '/random-date' do
d = Rate::Date.new
d.full_date.strftime("%b %d %Y")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment