summaryrefslogtreecommitdiff
path: root/lib/rbot/compat19.rb
AgeCommit message (Collapse)Author
2009-08-26ruby 1.9: monkeypatch MonitorMixin and ConditionVariablefranz
ruby 1.9's ConditionVariable#wait is not implemented for timeout != nil, this patch adds an implementation for it (see ruby-core:15847) Also, since MonitorMixin is included into TCPSocket in rbot, and TCPSocket#send != Object#send in ruby 1.9, i changed that to use __send__.