#Geeky Pod
##Checkin
####Python
- Chaiwat Suttipongsakul
- Chokchai Phatharamalai <<
- Airmee Chanita Anuwong
- Pam Suebvisai
- Edkung Foo
#Geeky Pod
##Checkin
####Python
<?xml version="1.0"?> | |
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xl="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 559 783" width="559pt" height="783pt"> | |
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<dc:date>2012-05-10 01:04Z</dc:date> | |
<!-- Produced by OmniGraffle Professional 5.3.6 --> | |
</metadata> | |
<defs> | |
<filter id="Shadow" filterUnits="userSpaceOnUse"> | |
<feGaussianBlur in="SourceAlpha" result="blur" stdDeviation="3.488" /> | |
<feOffset in="blur" result="offset" dx="0" dy="4" /> |
<div> | |
<h2>About Opendream</h2> | |
<p> | |
<img src="http://opendream.co.th/sites/all/themes/opendream/images/dreamer-03.png" /> | |
Information is power. Opendream weaving information systems to your control, excelling the power of your organization.<br/> | |
<br/> | |
We are a social enterprise with expertise in Internet solution development and information design. All the Opendream crews are digital natives from diverse backgrounds and experiences, with one single bold aim — deliver the information, change the world.<br/> | |
</p> | |
<p> | |
<img src="http://opendream.co.th/sites/all/themes/opendream/images/dreamer-04.png" /> |
<div> | |
<h1>services</h1> | |
<p> | |
Opendream services bring Internet technology to our client-friends and non-profit organisations.<br/> | |
<br/> | |
We commit a long term partnership, support those to utilise the power of the Internet for their organisation in sustainably way, provide innovative Internet applications on powerful open platform, connect people together, and save the world.<br/> | |
<br/> | |
Our social-mind-passion-driven technologists are so keen on Internet technology adaptation for social impact, we're unique. | |
</p> | |
</div> |
currency = {usd: 1, baht: 30.73, yen: 83.447, rupee: 50.21} | |
[Float, Fixnum].each do |number| | |
currency.each do |key, value| | |
number.class_eval "def #{key}; | |
return self/#{value}; | |
end" | |
number.class_eval %{def #{key}_string; | |
return (self * #{value}).to_s+" #{key.upcase}"; | |
end} |
require_relative 'hangman_class_3' | |
hangman = Hangman.new | |
hangman.start do |h| | |
puts h.answer | |
print "#{h.limit} Enter your best guest: " | |
h.guess(gets) | |
end |
require_relative 'hangman_class_2' | |
hangman = Hangman.new | |
hangman.start do | |
puts hangman.answer | |
print "#{hangman.limit} Enter your best guest: " | |
hangman.guess(gets) | |
end |
require_relative 'hangman_class' | |
hangman = Hangman.new | |
hangman.start | |
until hangman.finish | |
puts hangman.answer | |
print "#{hangman.limit} Enter your best guess: " | |
hangman.guess(gets) |