Class: FalseClass
- Defined in:
- lib/wedge/utilis/blank.rb,
lib/wedge/utilis/duplicable.rb
Instance Method Summary collapse
-
#blank? ⇒ true
false
is blank:. -
#duplicable? ⇒ Boolean
false
is not duplicable:.
Instance Method Details
#blank? ⇒ true
false
is blank:
false.blank? # => true
67 68 69 |
# File 'lib/wedge/utilis/blank.rb', line 67 def blank? true end |
#duplicable? ⇒ Boolean
false
is not duplicable:
false.duplicable? # => false
false.dup # => TypeError: can't dup FalseClass
53 54 55 |
# File 'lib/wedge/utilis/duplicable.rb', line 53 def duplicable? false end |