commit d27c84d160bb8d59741eda222fafd28b9a69feb2 parent 05033d13faa02afba842908b39c7922d6911de08 Author: Rich Lane <rlane@club.cc.cmu.edu> Date: Sat, 20 Jun 2009 13:50:15 -0700 fix String#ord monkeypatch Diffstat:
| M | lib/sup/util.rb | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/util.rb b/lib/sup/util.rb
@@ -282,7 +282,7 @@ class String
gsub(/\t/, " ").gsub(/\r/, "")
end
- if not defined? ord
+ unless method_defined? :ord
def ord
self[0]
end