Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lcnPylGDnU4H9OF
on Feb 1, 2025
|
parent
|
context
|
favorite
| on:
Better Know a Ruby Thing: Singleton Classes
Thanks for the correction! It can be hard to appreciate how true “everything is an object” is.
dragonwriter
on Feb 1, 2025
[–]
That and how, between block arguments and optional parens on method invocation, Ruby allows (and the core exploits this) defining lots of constructs that look like keyword-based syntax as methods.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: