|
From: | noreply |
Subject: | [myexperiment-hackers] [3437] trunk/config/initializers/stringio_patch.rb: fixed the version check of ruby |
Date: | Fri, 22 Feb 2013 19:20:30 +0000 (UTC) |
fixed the version check of ruby
--- trunk/config/initializers/stringio_patch.rb 2013-02-22 11:04:42 UTC (rev 3436)
+++ trunk/config/initializers/stringio_patch.rb 2013-02-22 19:20:29 UTC (rev 3437)
@@ -3,7 +3,7 @@
# Copyright (c) 2012 University of Manchester and the University of Southampton.
# See license.txt for details.
-if VERSION < "1.9.1"
+if RUBY_VERSION < "1.9.1"
class StringIO
def readpartial(*args)
result = read(*args)
[Prev in Thread] | Current Thread | [Next in Thread] |