Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Defined in:
- lib/corefoundation/extensions.rb
Overview
Rubyinteger
Instance Method Summary collapse
-
#to_cf ⇒ CF::Number
Converts the Integer to a CF::Number using CF::Number.from_i.
Instance Method Details
#to_cf ⇒ CF::Number
Converts the Integer to a CF::Number using CF::Number.from_i
5 6 7 |
# File 'lib/corefoundation/extensions.rb', line 5 def to_cf CF::Number.from_i(self) end |