Class: Float
Instance Method Summary collapse
Instance Method Details
#empty? ⇒ Boolean
8 9 10 |
# File 'lib/platform_helpers/float.rb', line 8 def empty? false end |
#to_bool ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/platform_helpers/float.rb', line 15 def to_bool if self > 0.0 return true else return false end end |
#to_display(params = {}) ⇒ Object
11 12 13 |
# File 'lib/platform_helpers/float.rb', line 11 def to_display(params={}) self.to_s end |