Class: Xommelier::OPML::Category
- Inherits:
-
Array
- Object
- Array
- Xommelier::OPML::Category
- Defined in:
- lib/xommelier/opml.rb
Simple Types collapse
Class Method Details
.from_xommelier(value) ⇒ Object
18 19 20 |
# File 'lib/xommelier/opml.rb', line 18 def self.from_xommelier(value) new(value.split('/')) end |
Instance Method Details
#to_xommelier ⇒ Object
30 31 32 |
# File 'lib/xommelier/opml.rb', line 30 def to_xommelier join('/') end |