Class: ID3Tag::Frames::V2::GenreFrame::GenreParser24

Inherits:
GenreParser
  • Object
show all
Defined in:
lib/id3tag/frames/v2/genre_frame/genre_parser_24.rb

Constant Summary

Constants inherited from GenreParser

ID3Tag::Frames::V2::GenreFrame::GenreParser::NUMERIC

Instance Attribute Summary

Attributes inherited from GenreParser

#genre_string

Instance Method Summary collapse

Methods inherited from GenreParser

#expand_abbreviation, #initialize

Constructor Details

This class inherits a constructor from ID3Tag::Frames::V2::GenreFrame::GenreParser

Instance Method Details

#genresObject



6
7
8
9
10
# File 'lib/id3tag/frames/v2/genre_frame/genre_parser_24.rb', line 6

def genres
  genre_string.split("\x00").map do |genre|
    expand_abbreviation(genre)
  end
end