Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cremno
on June 23, 2015
|
parent
|
context
|
favorite
| on:
Drat – Ruby has a double splat
What makes you think they're hidden? Enumerator moved from stdlib to core in 1.9 and also calling #to_enum isn't needed anymore:
enum = 0.upto(Float::INFINITY) enum.next # => 0 enum.next # => 1
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: