Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/bart_api/core_ext/float.rb
Class Method Summary collapse
Class Method Details
.new(numeric) ⇒ Object
2 3 4 |
# File 'lib/bart_api/core_ext/float.rb', line 2 def self.new numeric numeric.to_f if numeric.respond_to? :to_f end |