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