Class: Symbol
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
Symbols are not duplicable:.
Instance Method Details
#duplicable? ⇒ Boolean
Symbols are not duplicable:
:my_symbol.duplicable? # => false
:my_symbol.dup # => TypeError: can't dup Symbol
66 67 68 |
# File 'lib/core_ext/object/duplicable.rb', line 66 def duplicable? false end |