Class: GenreArray
- Inherits:
-
Object
- Object
- GenreArray
- Defined in:
- lib/tvrage_api/utility/genre_array.rb
Class Method Summary collapse
Class Method Details
.coerce(value) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/tvrage_api/utility/genre_array.rb', line 2 def self.coerce(value) if value.is_a?(Array) value else value.genre end end |