Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Xichekolas
on Feb 25, 2008
|
parent
|
context
|
favorite
| on:
(1..100).inject(&:+)
It won't work unless your web-based interpreter runs Ruby 1.9, or you also paste in his monkeypatch to the Symbol class.
raganwald
on Feb 25, 2008
[–]
I refuse to be blamed for Symbol#to_proc, it's a part of Rails and also Ruby Facets.
Xichekolas
on Feb 25, 2008
|
parent
[–]
Yeah I didn't mean to blame you... I actually like it, so consider it a complement, but it was just the easiest way to describe what patch I was talking about, since you had it in your article.
Any idea who specifically wrote it initially?
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: