use duck typing for REMOTE_ADDR detection
commite0f9fb7cb8d8d47c68a9ebb0cb391d5880ca66d1
authorEric Wong <normalperson@yhbt.net>
Fri, 2 Apr 2010 08:32:40 +0000 (2 01:32 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 2 Apr 2010 08:32:40 +0000 (2 01:32 -0700)
treebdbd70f50dd95e6e97b634e292bb358de405b3ca
parentb04d465d65f896290d36538181d91dd264d10575
use duck typing for REMOTE_ADDR detection

This gives us the option to use non-TCPSocket-derived
IO-ish objects in the future, whatever that may be...
lib/rainbows.rb