Class: FalseClass

Inherits:
Object show all
Defined in:
lib/symbolized/core_ext/object/duplicable.rb

Instance Method Summary collapse

Instance Method Details

#duplicable?Boolean

false is not duplicable:

false.duplicable? # => false
false.dup         # => TypeError: can't dup FalseClass

Returns:

  • (Boolean)


45
46
47
# File 'lib/symbolized/core_ext/object/duplicable.rb', line 45

def duplicable?
  false
end