Skip to content

Commit

Permalink
Add super init to part4
Browse files Browse the repository at this point in the history
  • Loading branch information
mnipper committed Jan 21, 2013
1 parent 96e5ba0 commit 67ad2ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions part4.rb
Expand Up @@ -19,6 +19,7 @@ class JellyBean < Dessert
attr_accessor :flavor

def initialize(name, calories, flavor)
super(name, calories)
@flavor = flavor
end

Expand Down

0 comments on commit 67ad2ea

Please sign in to comment.