SuperIO by judofyr — 28 August 2008 Turn everything into an IO with this little snippet. Anything more you ever wanted to be an IO? Comments This is a very cool snippet. Perhaps you should raise an ArgumentError (for specificity), unless you’d rather keep things as simple as possible. Also, it would be cool to be able to take an IO object and convert it into a File or Tempfile. Thoughts? mtodd — 28 August 2008 Post a comment You can use basic HTML markup (e.g. <a>) or Markdown. Authenticate with GitHub As you are not logged in, you will bedirected via GitHub to signup or sign in
Comments
This is a very cool snippet. Perhaps you should raise an ArgumentError (for specificity), unless you’d rather keep things as simple as possible.
Also, it would be cool to be able to take an IO object and convert it into a File or Tempfile. Thoughts?
Post a comment