Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/corefoundation/extensions.rb
Overview
Ruby float class
Instance Method Summary collapse
-
#to_cf ⇒ CF::Number
Converts the Float to a CF::Number using CF::Number.from_f.
Instance Method Details
#to_cf ⇒ CF::Number
Converts the Float to a CF::Number using CF::Number.from_f
14 15 16 |
# File 'lib/corefoundation/extensions.rb', line 14 def to_cf CF::Number.from_f(self) end |