summaryrefslogtreecommitdiff
path: root/lib/rental.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rental.rb')
-rw-r--r--lib/rental.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rental.rb b/lib/rental.rb
new file mode 100644
index 0000000..3409359
--- /dev/null
+++ b/lib/rental.rb
@@ -0,0 +1,7 @@
+class Rental
+ attr_reader :movie, :days_rented
+
+ def initialize(movie, days_rented)
+ @movie, @days_rented = movie, days_rented
+ end
+end