class Float
Gives all the Ruby base types (String
, Hash, nil, etc.) a “blank?” method.
Public Instance Methods
blank?()
click to toggle source
‘true’ if the float is 0.0
# File lib/delicious-cli/blank.rb, line 9 def blank?; self == 0.0; end