class OPML::Outline::Parser

Public Class Methods

new( xml ) click to toggle source
# File lib/opmlparser.rb, line 90
def initialize( xml )
  @xml = xml
end

Public Instance Methods

parse() click to toggle source
# File lib/opmlparser.rb, line 94
def parse
  OPML.parse( @xml, outlinify: true )
end