Class: ID3Tag::Frames::V2::UserTextFrame
- Inherits:
-
TextFrame
- Object
- BasicFrame
- TextFrame
- ID3Tag::Frames::V2::UserTextFrame
- Defined in:
- lib/id3tag/frames/v2/user_text_frame.rb
Constant Summary
Constants inherited from TextFrame
TextFrame::ENCODING_MAP, TextFrame::UnsupportedTextEncoding
Constants inherited from BasicFrame
BasicFrame::DECOMPRESSED_SIZE_BYTE_COUNT, BasicFrame::GROUP_BYTE_COUNT
Instance Attribute Summary
Attributes inherited from BasicFrame
Instance Method Summary collapse
Methods inherited from TextFrame
Methods inherited from BasicFrame
#compressed?, #data_length_indicator?, #encrypted?, #encryption_id, #final_size, #group_id, #grouped?, #initialize, #inspect, #inspectable_content, #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
#content ⇒ Object
6 7 8 |
# File 'lib/id3tag/frames/v2/user_text_frame.rb', line 6 def content StringUtil.cut_at_null_byte(content_parts.last) end |
#description ⇒ Object
10 11 12 |
# File 'lib/id3tag/frames/v2/user_text_frame.rb', line 10 def description content_parts.first end |