Class: Float
- Inherits:
-
Object
- Object
- Float
- Defined in:
- lib/thetvdb_api/utility/float.rb
Class Method Summary collapse
Class Method Details
.coerce(value) ⇒ Object
2 3 4 |
# File 'lib/thetvdb_api/utility/float.rb', line 2 def self.coerce(value) value.to_f end |