Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/core_ext/duplicable.rb
Instance Method Summary collapse
-
#duplicable? ⇒ Boolean
Can you safely .dup this object? False for nil, false, true, symbols, and numbers; true otherwise.
Instance Method Details
#duplicable? ⇒ Boolean
Can you safely .dup this object? False for nil, false, true, symbols, and numbers; true otherwise.
4 5 6 |
# File 'lib/core_ext/duplicable.rb', line 4 def duplicable? true end |