什么&method(:function)意思?例如,我有这一行:
&method(:function)
res = integrate(0, 1, a, &method(:function))
ruby
ruby ×1