Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • \$\begingroup\$ Actually this works in the Pry Ruby shell. \$\endgroup\$ Commented Oct 22, 2015 at 21:41
  • \$\begingroup\$ Do you mean it works as in "this breaks it" or it works as in "it still works after this"? Only, I did mention the second being the case in plain old irb \$\endgroup\$
    – AJFaraday
    Commented Oct 22, 2015 at 21:46
  • 2
    \$\begingroup\$ I mean it breaks Pry. It doesn't break IRB, and it doesn't break running in .rb files, but it does break Pry. \$\endgroup\$ Commented Oct 22, 2015 at 21:50
  • \$\begingroup\$ Interesting. I'd guess there's some protection on the send method that isn't working in pry. \$\endgroup\$
    – AJFaraday
    Commented Oct 22, 2015 at 21:52