Class: WahWah::Mp3Tag
Constant Summary
Constants inherited
from Tag
Tag::INSPECT_ATTRIBUTES, Tag::INTEGER_ATTRIBUTES
Instance Method Summary
collapse
tag_delegate
Methods inherited from Tag
#images, #initialize, #inspect
Constructor Details
This class inherits a constructor from WahWah::Tag
Instance Method Details
#id3_version ⇒ Object
37
38
39
|
# File 'lib/wahwah/mp3_tag.rb', line 37
def id3_version
@id3_tag&.version
end
|
#id3v2? ⇒ Boolean
29
30
31
|
# File 'lib/wahwah/mp3_tag.rb', line 29
def id3v2?
@id3_tag.instance_of? ID3::V2
end
|
#invalid_id3? ⇒ Boolean
33
34
35
|
# File 'lib/wahwah/mp3_tag.rb', line 33
def invalid_id3?
@id3_tag.nil?
end
|
#is_vbr? ⇒ Boolean
41
42
43
|
# File 'lib/wahwah/mp3_tag.rb', line 41
def is_vbr?
.valid? && (.valid? || .valid?)
end
|