方法
实例公共方法
duplicable?() 链接
未绑定方法是不可复制的
method(:puts).unbind.duplicable? # => false method(:puts).unbind.dup # => TypeError: allocator undefined for UnboundMethod
来源: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 54 def duplicable? false end