Skip to content

Instantly share code, notes, and snippets.

@asonas
Forked from itochan/java_plus_you.rb
Last active August 29, 2015 13:58
Show Gist options
  • Save asonas/10363347 to your computer and use it in GitHub Desktop.
Save asonas/10363347 to your computer and use it in GitHub Desktop.
require 'date'
require 'i18n'
JAVA = "http://www.java.com/#{I18n.locale}/"
YOU = `whoami`
def DOWNLOAD(today)
puts "Free Java Download"
puts JAVA
`open #{JAVA}` if DARWIN?
end
private def DARWIN?
`uname`.chomp == "Darwin"
end
def TODAY!
Date.today
end
JAVA + YOU
DOWNLOAD TODAY!
@Favorwilliams
Copy link

My Pleasure to write you,
My name is Favor Williams,
My email address is
( Favor24@live.com)
Am interested to know
more about you,
Contact me for my
photo and other
important issue via,

Favor24@live.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment