Method: WhatToWatch::Show#initialize
- Defined in:
- lib/what_to_watch/show.rb
#initialize(title = "", streaming_service = "") ⇒ Show
WhatToWatch::BestMovies.add_shows WhatToWatch::BestMovies.list() “y”, amazon_prime: “y”, hbo_now: “y”, hulu: “y”, showtime: “y”
8 9 10 11 12 |
# File 'lib/what_to_watch/show.rb', line 8 def initialize(title="", streaming_service="") @title = title @streaming_service = streaming_service self.class.all << self end |