class Xommelier::OPML::CategoryArray
Public Class Methods
from_xommelier(value)
click to toggle source
# File lib/xommelier/opml.rb, line 36 def self.from_xommelier(value) new(value.to_s.split(',').map { |category| Category.from_xommelier(category) }) end
Public Instance Methods
to_xommelier()
click to toggle source
# File lib/xommelier/opml.rb, line 40 def to_xommelier map(&:to_xommelier).join(',') end