Module: RSS::ITunesItemModel
- Extended by:
- BaseModel, ITunesModelUtils
- Includes:
- ITunesBaseModel
- Included in:
- Rss::Channel::Item
- Defined in:
- lib/rss/itunes.rb
Defined Under Namespace
Classes: ITunesDuration
Constant Summary collapse
- ELEMENT_INFOS =
ITunesBaseModel::ELEMENT_INFOS + [["duration", :element, "content"]]
Constants included from ITunesBaseModel
RSS::ITunesBaseModel::ELEMENTS
Class Method Summary collapse
Methods included from BaseModel
install_date_element, install_have_child_element, install_have_children_element, install_text_element
Methods included from Utils
element_initialize_arguments?, get_file_and_line_from_caller, html_escape, new_with_value_if_need, to_class_name
Methods included from ITunesModelUtils
def_class_accessor, def_element_class_accessor, def_elements_class_accessor
Class Method Details
.append_features(klass) ⇒ Object
247 248 249 250 251 252 253 254 |
# File 'lib/rss/itunes.rb', line 247 def append_features(klass) super return if klass.instance_of?(Module) ELEMENT_INFOS.each do |name, type| def_class_accessor(klass, name, type) end end |