Method: XSPF::Track#initialize

Defined in:
lib/xspf.rb

#initialize(tr) ⇒ Track

Creates a XSPF::Track object from a <track> section of the XSPF document



315
316
317
# File 'lib/xspf.rb', line 315

def initialize(tr)
  @track = tr
end