fe2c1c6eb6 | ||
---|---|---|
.. | ||
readme.md |
readme.md
Lösung: Callback mit Proc
lam = ->(a, b) { a + b } puts rechner(5, 4, lam) # -> 18
fe2c1c6eb6 | ||
---|---|---|
.. | ||
readme.md |
lam = ->(a, b) { a + b } puts rechner(5, 4, lam) # -> 18