class Xommelier::OPML::Category
@!group Simple Types
Public Class Methods
from_xommelier(value)
click to toggle source
# File lib/xommelier/opml.rb, line 18 def self.from_xommelier(value) new(value.split('/')) end
Public Instance Methods
category?()
click to toggle source
# File lib/xommelier/opml.rb, line 22 def category? [0].nil? end
tag?()
click to toggle source
# File lib/xommelier/opml.rb, line 26 def tag? !category? end
to_xommelier()
click to toggle source
# File lib/xommelier/opml.rb, line 30 def to_xommelier join('/') end