Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- content = File.readlines("/tmp/foo")
- => ["This is\n", "the \n", "file named\n", "foo.\n"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement