Method: Mixcloud::Section#initialize
- Defined in:
- lib/mixcloud/section.rb
#initialize(track_url, position, start_time, section_type) ⇒ Section
Returns a new instance of Section.
5 6 7 8 9 10 |
# File 'lib/mixcloud/section.rb', line 5 def initialize(track_url, position, start_time, section_type) @track_url = track_url @position = position @start_time = start_time @section_type = section_type end |