diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-26 09:36:00 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-26 09:36:33 +0000 |
commit | 3df12aeda7b480edf40da61f98cd2887a09eeb7b (patch) | |
tree | 59c72e92ce699276a38f3db2e34202952d523417 | |
parent | cbc67d2a28329caa3865eefc8d016ff86ef9f1e3 (diff) | |
download | dtas-3df12aeda7b480edf40da61f98cd2887a09eeb7b.tar.gz |
No we do not want to confuse `ri' users with this.
-rw-r--r-- | lib/dtas/compat_onenine.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dtas/compat_onenine.rb b/lib/dtas/compat_onenine.rb index 3c4db52..c78e7f2 100644 --- a/lib/dtas/compat_onenine.rb +++ b/lib/dtas/compat_onenine.rb @@ -5,13 +5,13 @@ # Make Ruby 1.9.3 look like Ruby 2.0.0 to us # This exists for Debian wheezy users using the stock Ruby 1.9.3 install. # We'll drop this interface when Debian wheezy (7.0) becomes unsupported. -class String +class String # :nodoc: def b # :nodoc: dup.force_encoding(Encoding::BINARY) end end unless String.method_defined?(:b) -def IO +def IO # :nodoc: def self.pipe # :nodoc: super.map! { |io| io.close_on_exec = true; io } end |