blog comments 13 del.icio.us bookmarks 2 diggs 0 Google results 0

3.4
PostRank

Double Gets as Heredoc

RedHanded From RedHanded, 1 year ago, 3 views

From John Joyce in [ruby-talk:245343]:

I’m a little surprised at this. In irb, I tried puts gets gets. Why? I don’t know. But basically, gets gets, seems to almost act like a heredoc!

Such a simple and unintended thing: the double-gets. Do you see how it works?

comments

No comments yet.

You must be logged in to add your own comment.