Sha256: f18d6a06b44ceb7a67d3bd4c71aded346c0c148f12f820f1798f4629ee8f68a3
Contents?: true
Size: 174 Bytes
Versions: 2
Compression:
Stored size: 174 Bytes
Contents
# backport IO.write to older Rubies unless IO.respond_to?(:write) class IO def self.write(name, string) open(name, "wb") { |f| f.write string } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
text_tunnel-0.2.0 | lib/text_tunnel/backport.rb |
text_tunnel-0.1.1 | lib/text_tunnel/backport.rb |