Ruby quiz du jour answer

September 7, 2007 Pivotal Labs

Josh got it right.

1.0/0

indeed resolves to “Infinity”. Pretty cool!

-Felix

About the Author

Biography

Previous
String#split and regex lookarounds
String#split and regex lookarounds

Ruby supports regular expression quite well, so it's not surprising that one can use a lookaround to match ...

Next
pong
pong

ping is awesome, but it's a little simple-minded. I often find myself running several pings at a time, es...

SpringOne Platform 2019 Presentations

Watch Now