Skip to content
Browse files

Add super init to part4

  • Loading branch information...
1 parent 96e5ba0 commit 67ad2eae3485fe7b84ed1a654001b724d8938f81 @mnipper committed Jan 20, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 part4.rb
View
1 part4.rb
@@ -19,6 +19,7 @@ class JellyBean < Dessert
attr_accessor :flavor
def initialize(name, calories, flavor)
+ super(name, calories)
@flavor = flavor
end

0 comments on commit 67ad2ea

Please sign in to comment.
Something went wrong with that request. Please try again.