Class: WahWah::OggTag

Inherits:
Tag
  • Object
show all
Extended by:
TagDelegate
Defined in:
lib/wahwah/ogg_tag.rb

Constant Summary

Constants inherited from Tag

Tag::INSPECT_ATTRIBUTES, Tag::INTEGER_ATTRIBUTES

Instance Attribute Summary

Attributes inherited from Tag

#album, #albumartist, #artist, #comments, #composer, #disc, #disc_total, #file_size, #genre, #sample_rate, #title, #track, #track_total, #year

Instance Method Summary collapse

Methods included from TagDelegate

tag_delegate

Methods inherited from Tag

#images, #initialize, #inspect

Constructor Details

This class inherits a constructor from WahWah::Tag

Instance Method Details

#bit_depthObject



27
28
29
# File 'lib/wahwah/ogg_tag.rb', line 27

def bit_depth
  @bit_depth ||= parse_bit_depth
end

#bitrateObject



23
24
25
# File 'lib/wahwah/ogg_tag.rb', line 23

def bitrate
  @bitrate ||= parse_bitrate
end

#durationObject



19
20
21
# File 'lib/wahwah/ogg_tag.rb', line 19

def duration
  @duration ||= parse_duration
end