Class: RSS::Maker::ImageItemModel::ImageItemBase
- Inherits:
-
Object
- Object
- RSS::Maker::ImageItemModel::ImageItemBase
- Includes:
- Base, DublinCoreModel
- Defined in:
- lib/rss/maker/image.rb
Instance Attribute Summary collapse
-
#about ⇒ Object
Returns the value of attribute about.
-
#image_height ⇒ Object
(also: #height)
Returns the value of attribute image_height.
-
#image_width ⇒ Object
(also: #width)
Returns the value of attribute image_width.
-
#resource ⇒ Object
Returns the value of attribute resource.
Instance Method Summary collapse
Methods included from DublinCoreModel
append_features, install_dublin_core
Methods included from Base
Instance Attribute Details
#about ⇒ Object
Returns the value of attribute about.
32 33 34 |
# File 'lib/rss/maker/image.rb', line 32 def about @about end |
#image_height ⇒ Object Also known as: height
Returns the value of attribute image_height.
32 33 34 |
# File 'lib/rss/maker/image.rb', line 32 def image_height @image_height end |
#image_width ⇒ Object Also known as: width
Returns the value of attribute image_width.
32 33 34 |
# File 'lib/rss/maker/image.rb', line 32 def image_width @image_width end |
#resource ⇒ Object
Returns the value of attribute resource.
32 33 34 |
# File 'lib/rss/maker/image.rb', line 32 def resource @resource end |
Instance Method Details
#have_required_values? ⇒ Boolean
42 43 44 |
# File 'lib/rss/maker/image.rb', line 42 def have_required_values? @about end |