News for hackers. Stuff that matters.
Re:Pyret Programming Language by lluu on Sunday August 22, 2021 @04:53AM (#28263915)
The way to do the last bit in Ruby is:

  method_as_fun = o.method(:my_method)
  method_as_fun.call(5) # 15

There are no comments on this comment yet.