Class: NewItem

Inherits:
MediaItem show all
Defined in:
lib/etvnet_seek/core/new_item.rb

Instance Attribute Summary collapse

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

#imageObject

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_sObject



7
8
9
# File 'lib/etvnet_seek/core/new_item.rb', line 7

def to_s
  "#{text} ---  #{link}"
end