Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/delicious-cli/blank.rb
Overview
Gives all the Ruby base types (String, Hash, nil, etc.) a “blank?” method.
Instance Method Summary collapse
-
#blank? ⇒ Boolean
‘true’ if the float is 0.0.
Instance Method Details
#blank? ⇒ Boolean
‘true’ if the float is 0.0
9 |
# File 'lib/delicious-cli/blank.rb', line 9 def blank?; self == 0.0; end |