|
|
|
|
|
by banister
4907 days ago
|
|
```
If methods were first-class functions, this would work — > method_a would return method_b, which would then execute when x() was called. This doesn't work because Ruby methods aren't objects.
``` Seems the OP is just confused by syntax? we use obj.method(:method_a) instead of obj.method_a, i dont see why requiring a different syntax changes the semantics on this point. |
|