Class: M3u8::DiscontinuityItem

Inherits:
Object
  • Object
show all
Includes:
Serializable
Defined in:
lib/m3u8/discontinuity_item.rb

Overview

DiscontinuityItem represents a EXT-X-DISCONTINUITY tag to indicate a discontinuity between the SegmentItems that proceed and follow it.

Instance Method Summary collapse

Methods included from Serializable

#as_json, serialize, #to_h, #to_json

Instance Method Details

#to_sString

Render as an m3u8 EXT-X-DISCONTINUITY tag.

Returns:

  • (String)


11
12
13
# File 'lib/m3u8/discontinuity_item.rb', line 11

def to_s
  "#EXT-X-DISCONTINUITY\n"
end