Methods

Instance Public methods

duplicable?()

Methods are not duplicable:

method(:puts).duplicable? # => false
method(:puts).dup         # => TypeError: allocator undefined for Method
📝 Source code
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 123
  def duplicable?
    false
  end
🔎 See on GitHub