Method: MusicBrainz::DiscID::TrackInfo#to_hash

Defined in:
lib/mb-discid.rb

#to_hashObject

Converts the TrackInfo into a Hash.



166
167
168
169
170
171
172
173
174
175
# File 'lib/mb-discid.rb', line 166

def to_hash
  {
  :sectors      => sectors,
  :start_sector => start_sector,
  :end_sector   => end_sector,
  :seconds      => seconds,
  :start_time   => start_time,
  :end_time     => end_time,
  }
end