Skip to content

Commit

Permalink
Merge pull request #6 from patleb/master
Browse files Browse the repository at this point in the history
UndefinedConversionError (issue #5)
  • Loading branch information
kschiess authored Jul 26, 2018
2 parents c3c503f + af97cc4 commit 9a714f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cod/iopair.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ def initialize(r=nil, w=nil)
else
super(*IO.pipe)
end
self.r.binmode
self.w.binmode
end

# Performs a deep copy of the structure.
Expand Down Expand Up @@ -35,4 +37,4 @@ def close_w
self.w = nil
end
end
end
end

0 comments on commit 9a714f4

Please sign in to comment.