Class: TagLib::ID3v2::GeneralEncapsulatedObjectFrame
- Defined in:
- docs/taglib/id3v2.rb
Overview
General encapsulated object frame (GEOB
).
Instance Attribute Summary collapse
-
#description ⇒ String
Content description.
-
#file_name ⇒ String
File name.
-
#mime_type ⇒ String
MIME type.
-
#object ⇒ binary String
Binary data string.
-
#text_encoding ⇒ String
Encoding for storing the text in the tag, e.g.
TagLib::String::UTF8
. See the section String Encodings in TagLib.
Attributes inherited from Frame
Method Summary
Methods inherited from Frame
Instance Attribute Details
#description ⇒ String
Returns content description.
274 275 276 |
# File 'docs/taglib/id3v2.rb', line 274 def description @description end |
#file_name ⇒ String
Returns file name.
277 278 279 |
# File 'docs/taglib/id3v2.rb', line 277 def file_name @file_name end |
#mime_type ⇒ String
Returns MIME type.
280 281 282 |
# File 'docs/taglib/id3v2.rb', line 280 def mime_type @mime_type end |
#object ⇒ binary String
Binary data string.
Be sure to use a binary string when setting this attribute. In
Ruby 1.9, this means reading from a file with "b"
mode to get a
string with encoding BINARY
/ ASCII-8BIT
.
289 290 291 |
# File 'docs/taglib/id3v2.rb', line 289 def object @object end |
#text_encoding ⇒ String
Encoding for storing the text in the tag, e.g.
TagLib::String::UTF8
. See the section String Encodings in
TagLib.
294 295 296 |
# File 'docs/taglib/id3v2.rb', line 294 def text_encoding @text_encoding end |