1 2 3 4 5 6 7 8 9 10 |
#!/Users/nicwilliams/ruby/ruby/ruby-trunk
# coding: utf-8
# Replace #! with location of your ruby1.9 or
# run through ruby1.9 manually.
Infinity = 1.0/0.0
∞ = Infinity
0.upto(∞) {|num| p num }
|
Pastie
Support Pastie
or read my
Pastie << self
blog
1 2 3 4 5 6 7 8 9 10 |
#!/Users/nicwilliams/ruby/ruby/ruby-trunk
# coding: utf-8
# Replace #! with location of your ruby1.9 or
# run through ruby1.9 manually.
Infinity = 1.0/0.0
∞ = Infinity
0.upto(∞) {|num| p num }
|