Class: FalseClass

Inherits:
Object show all
Defined in:
lib/chewy/backports/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)


44
45
46
# File 'lib/chewy/backports/duplicable.rb', line 44

def duplicable?
  false
end