Methods

Instance Public methods

duplicable?()

Symbols are not duplicable:

:my_symbol.duplicable? # => false
:my_symbol.dup         # => TypeError: can't dup Symbol
📝 Source code
# File activesupport/lib/active_support/core_ext/object/duplicable.rb, line 86
    def duplicable?
      false
    end
🔎 See on GitHub