Module: UpcomingMoviesInThePark::Super::GateParkInstanceMethods
Instance Method Summary collapse
Instance Method Details
#add_showing(showing) ⇒ Object
13 14 15 |
# File 'lib/upcoming_movies_in_the_park/super.rb', line 13 def add_showing(showing) self.showings << showing end |
#list_showings ⇒ Object
17 18 19 20 |
# File 'lib/upcoming_movies_in_the_park/super.rb', line 17 def list_showings self.showings.each_with_index {|showing, i| puts "#{i +1}. #{showing.name}".colorize(:cyan)} end |