Module: RSS::ITunesItemModel
Relationships & Source Files | |
Namespace Children | |
Classes:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
self,
ITunesBaseModel
|
|
Defined in: | lib/rss/itunes.rb |
Constant Summary
-
ELEMENT_INFOS =
# File 'lib/rss/itunes.rb', line 262ITunesBaseModel::ELEMENT_INFOS + [ ["duration", :element, "content"], ["image", :attribute, "href"], ["season", :positive_integer], ["episode", :positive_integer], ["episodeType", :itunes_episode_type], ["title"], ]
ITunesBaseModel
- Included
Class Method Summary
ITunesModelUtils
- Extended
BaseModel
- Extended
Utils
- Included
element_initialize_arguments? | This method is used inside of several different objects to determine if special behavior is needed in the constructor. |
get_file_and_line_from_caller | Returns an array of two elements: the filename where the calling method is located, and the line number where it is defined. |
new_with_value_if_need | If |
to_class_name | Given a |
Class Method Details
.append_features(klass)
[ GitHub ]# File 'lib/rss/itunes.rb', line 252
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