阅读背景:

如何用一个参数来讨论方法

来源:互联网 

here is my code:

这是我的代码:

def f x
  x
end

g = method(:f).to_proc.curry.(123)

p g
def f x
  x
end

g



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: