Class: ID3Tag::ID3V2FrameParser

Inherits:
Object
  • Object
show all
Defined in:
lib/id3tag/id3_v2_frame_parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(input, major_version_number) ⇒ ID3V2FrameParser

Returns a new instance of ID3V2FrameParser.



3
4
5
# File 'lib/id3tag/id3_v2_frame_parser.rb', line 3

def initialize(input, major_version_number)
  @input, @major_version_number = StringIO.new(input), major_version_number
end

Instance Method Details

#framesObject



7
8
9
# File 'lib/id3tag/id3_v2_frame_parser.rb', line 7

def frames
  @frames ||= get_frames
end