Class: ID3Tag::Frames::V2::ChapterFrame

Inherits:
BasicFrame
  • Object
show all
Defined in:
lib/id3tag/frames/v2/chapter_frame.rb

Constant Summary

Constants inherited from BasicFrame

BasicFrame::DECOMPRESSED_SIZE_BYTE_COUNT, BasicFrame::GROUP_BYTE_COUNT

Instance Attribute Summary

Attributes inherited from BasicFrame

#id, #raw_content

Instance Method Summary collapse

Methods inherited from BasicFrame

#compressed?, #content, #data_length_indicator?, #encrypted?, #encryption_id, #final_size, #group_id, #grouped?, #initialize, #inspect, #preserve_on_file_alteration?, #preserve_on_tag_alteration?, #read_additional_info_byte, #read_only?, #unsynchronised?, #usable_content

Constructor Details

This class inherits a constructor from ID3Tag::Frames::V2::BasicFrame

Instance Method Details

#element_idObject Also known as: inspectable_content



5
6
7
# File 'lib/id3tag/frames/v2/chapter_frame.rb', line 5

def element_id
  unpacked[:element_id]
end

#end_offsetObject



21
22
23
# File 'lib/id3tag/frames/v2/chapter_frame.rb', line 21

def end_offset
  unpacked[:end_offset]
end

#end_timeObject



13
14
15
# File 'lib/id3tag/frames/v2/chapter_frame.rb', line 13

def end_time
  unpacked[:end_time]
end

#start_offsetObject



17
18
19
# File 'lib/id3tag/frames/v2/chapter_frame.rb', line 17

def start_offset
  unpacked[:start_offset]
end

#start_timeObject



9
10
11
# File 'lib/id3tag/frames/v2/chapter_frame.rb', line 9

def start_time
  unpacked[:start_time]
end

#subframesObject



25
26
27
# File 'lib/id3tag/frames/v2/chapter_frame.rb', line 25

def subframes
  unpacked[:subframes]
end