lib/gren/common/util.rb in gren-1.0.0 vs lib/gren/common/util.rb in gren-1.0.1

- old
+ new

@@ -91,14 +91,18 @@ puts end # StringIO patch def pipe?(io) - io.instance_of?(IO) && File.pipe?(io) + !Platform.windows_os? && io.instance_of?(IO) && File.pipe?(io) end def downcase?(str) str == str.downcase + end + + def ruby19? + RUBY_VERSION >= '1.9.0' end end end