Class: FeedParser::Thumbnail
- Inherits:
-
Object
- Object
- FeedParser::Thumbnail
- Defined in:
- lib/feedparser/thumbnail.rb
Instance Attribute Summary collapse
-
#height ⇒ Object
todo/check: use avatar_url ?? used by json feed -check if always a url.
-
#url ⇒ Object
(also: #uri)
Returns the value of attribute url.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
Instance Attribute Details
#height ⇒ Object
todo/check: use avatar_url ?? used by json feed -check if always a url
17 18 19 |
# File 'lib/feedparser/thumbnail.rb', line 17 def height @height end |
#url ⇒ Object Also known as: uri
Returns the value of attribute url.
7 8 9 |
# File 'lib/feedparser/thumbnail.rb', line 7 def url @url end |
#width ⇒ Object
Returns the value of attribute width.
14 15 16 |
# File 'lib/feedparser/thumbnail.rb', line 14 def width @width end |
Instance Method Details
#height? ⇒ Boolean
16 |
# File 'lib/feedparser/thumbnail.rb', line 16 def height?() @height.nil? == false; end |
#width? ⇒ Boolean
13 |
# File 'lib/feedparser/thumbnail.rb', line 13 def width?() @width.nil? == false; end |