Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 415 Bytes
require './lib/movie'
require './lib/rental'
require './lib/customer'
joe = Customer.new("Joe Baker")
jaws = Movie.new('Jaws', Movie::NEW_RELEASE)
r = Rental.new(jaws, 5)
joe.add_rental(r)
bambi = Movie.new('Bambi', Movie::CHILDRENS)
r = Rental.new(bambi, 10)
joe.add_rental(r)
lassie = Movie.new('Lassie', Movie::REGULAR)
r = Rental.new(lassie, 8)
joe.add_rental(r)
puts joe.statement()
Jump to Line
Something went wrong with that request. Please try again.