Class: WhatToWatch::BestTV
Constant Summary collapse
- @@all =
[]
Instance Attribute Summary
Attributes inherited from Show
#cast, #description, #genre_year, #streaming_service, #title, #url
Class Method Summary collapse
Methods inherited from Show
add_shows, #initialize, print_item, print_list, services
Constructor Details
This class inherits a constructor from WhatToWatch::Show
Class Method Details
.all ⇒ Object
5 6 7 |
# File 'lib/what_to_watch/best_tv.rb', line 5 def self.all @@all end |
.list(hash) ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/what_to_watch/best_tv.rb', line 13 def self.list(hash) puts "" puts "==========================" puts " Best Reviewed Television " puts "==========================" puts "" self.print_list(hash) end |
.section ⇒ Object
9 10 11 |
# File 'lib/what_to_watch/best_tv.rb', line 9 def self.section 2 end |