class M3U8::Parser
- M3U8::Parser
- Reference
- Object
Included Modules
- M3U8::Concern
Extended Modules
- M3U8::Concern
Defined in:
m3u8/parser.crConstructors
-
.new(string : String)
m3u8_string = "#EXTM3U...." parser = Parser.new(m3u8_string) parser.read # => #<M3U8::Playlist...>
-
.new
m3u8_string = "#EXTM3U...." parser = Parser.new parser.read(m3u8_string) # => #<M3U8::Playlist...>
Class Method Summary
-
.read(string : String)
m3u8_string = "#EXTM3U...." parser = Parser.read(m3u8_string) # => #<M3U8::Playlist...>
Instance Method Summary
- #is_parse : Bool
- #live : Bool | Nil
- #playlist : Playlist
-
#read(string : String)
m3u8_string = "#EXTM3U...." parser = Parser.new parser.read(m3u8_string) # => #<M3U8::Playlist...>
-
#read
m3u8_string = "#EXTM3U...." parser = Parser.new(m3u8_string) parser.read # => #<M3U8::Playlist...>
- #reader : Scanner
Constructor Detail
def self.new(string : String)
#
m3u8_string = "#EXTM3U...."
parser = Parser.new(m3u8_string)
parser.read
# => #<M3U8::Playlist...>
def self.new
#
m3u8_string = "#EXTM3U...."
parser = Parser.new
parser.read(m3u8_string)
# => #<M3U8::Playlist...>
Class Method Detail
def self.read(string : String)
#
m3u8_string = "#EXTM3U...."
parser = Parser.read(m3u8_string)
# => #<M3U8::Playlist...>
Instance Method Detail
def read(string : String)
#
m3u8_string = "#EXTM3U...."
parser = Parser.new
parser.read(m3u8_string)
# => #<M3U8::Playlist...>
def read
#
m3u8_string = "#EXTM3U...."
parser = Parser.new(m3u8_string)
parser.read
# => #<M3U8::Playlist...>