class Upcoming::Concert
Attributes
artist[RW]
location[RW]
price[RW]
showtime[RW]
ticket_url[RW]
Public Class Methods
all()
click to toggle source
# File lib/upcoming/concert.rb, line 17 def self.all @@all end
new(artist, showtime, price, ticket_url, location)
click to toggle source
# File lib/upcoming/concert.rb, line 8 def initialize(artist, showtime, price, ticket_url, location) @artist = artist @showtime = showtime @price = price @ticket_url = ticket_url @location = location @@all << self end