Class: NewItem
Instance Attribute Summary collapse
-
#image ⇒ Object
Returns the value of attribute image.
Attributes inherited from MediaItem
#additional_info, #link, #media_file, #text, #underscore_name
Instance Method Summary collapse
Methods inherited from MediaItem
#==, #access_page?, #folder?, #initialize
Constructor Details
This class inherits a constructor from MediaItem
Instance Attribute Details
#image ⇒ Object
Returns the value of attribute image.
5 6 7 |
# File 'lib/etvnet_seek/core/new_item.rb', line 5 def image @image end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/etvnet_seek/core/new_item.rb', line 7 def to_s "#{text} --- #{link}" end |