Y
Hacker News
new
|
ask
|
show
|
jobs
by
vidarh
250 days ago
> It's like a proc, but instead it's a class with `#call` method.
It's called the "callable" pattern.