myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3437] trunk/config/initializers/stringio_patch.r


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)

Revision
3437
Author
dgc
Date
2013-02-22 19:20:29 +0000 (Fri, 22 Feb 2013)

Log Message

fixed the version check of ruby

Modified Paths

Diff

Modified: trunk/config/initializers/stringio_patch.rb (3436 => 3437)


--- 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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]