Skip to content

Instantly share code, notes, and snippets.

@jonleighton
Created March 15, 2013 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonleighton/5172263 to your computer and use it in GitHub Desktop.
Save jonleighton/5172263 to your computer and use it in GitHub Desktop.
class Foo
def to_io
puts "to_io"
IO.pipe.first
end
end
IO.select([Foo.new])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment