about summary refs log tree commit homepage
path: root/test/test_linux.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-06-07 14:36:35 -0700
committerEric Wong <normalperson@yhbt.net>2012-06-07 14:43:09 -0700
commit506df98df1dae59281fbb3b3c2c6bea7549a2288 (patch)
tree792e532e9daa4d89f6ce6006ec8f2eedd6869fcf /test/test_linux.rb
parentbd7236fe23c4388d2fa42a4f836aca3c796dabab (diff)
downloadraindrops-506df98df1dae59281fbb3b3c2c6bea7549a2288.tar.gz
"send" is more likely to be overridden in subclasses whereas
the Ruby runtime (at least 1.9.3) will warn loudly if any user
code (re)defines the "__send__" method.

For example, BasicSocket#send and UDPSocket#send in the Ruby
stdlib are wrappers for the send(2)/sendto(2) system calls,
and it's entirely possible an application could return a
Socket-subclass as a Rack response body.
Diffstat (limited to 'test/test_linux.rb')
0 files changed, 0 insertions, 0 deletions