make Ruby strings behave like files


/ Published in: Ruby
Save to your folder(s)

This is handy for testing, when you need to simulate an open file or open URI. Why, and the Pickaxe book, have better examples

URL: http://whytheluckystiff.net/articles/rubyOneEightOh.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.