Skip to content

Instantly share code, notes, and snippets.



Created Jan 5, 2014
What would you like to do?
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
require 'cgi'
cgi ='html3')
time =
year = time.year
month = time.month
url = "予定表 #{year}-#{month}"
print cgi.header({'status' => 'REDIRECT', 'Location' => url, 'Time' => time})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.