Class: Xommelier::RSS::Element
- Inherits:
-
Xml::Element
- Object
- Xml::Element
- Xommelier::RSS::Element
- Defined in:
- lib/xommelier/rss.rb
Direct Known Subclasses
Category, Channel, Cloud, Enclosure, Guid, Image, Item, Rss, SkipDaysList, SkipHoursList, Source, TextInput
Constant Summary
Constants included from Xml::Element::Serialization
Xml::Element::Serialization::SAVE_OPTIONS, Xml::Element::Serialization::SERIALIZATION_OPTIONS
Instance Attribute Summary
Attributes inherited from Xml::Element
Attributes included from Xml::Element::Namespace
Class Method Summary collapse
Methods inherited from Xml::Element
Methods included from Xml::Element::Serialization
#<=>, #==, #=~, #from_xml, #to_hash, #to_nokogiri, #to_s, #to_xml
Methods included from Xml::Element::Namespace
Constructor Details
This class inherits a constructor from Xommelier::Xml::Element
Class Method Details
.attribute(name, options = {}) ⇒ Object
71 72 73 74 |
# File 'lib/xommelier/rss.rb', line 71 def self.attribute(name, = {}) [:as] ||= name.to_s.camelize(:lower) super end |
.element(name, options = {}) ⇒ Object
66 67 68 69 |
# File 'lib/xommelier/rss.rb', line 66 def self.element(name, = {}) [:as] ||= name.to_s.camelize(:lower) super end |