Skip to content

Commit

Permalink
complete first homework, all excellent)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrishko committed Mar 7, 2012
1 parent 291480b commit 79baeec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homework1/part4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def initialize(name, calories, flavor)
super(name, calories)
end

attr_accessor :flavor, :name, :calories
attr_accessor :flavor

def delicious?
flavor == "black licorice" ? false : super
Expand Down

0 comments on commit 79baeec

Please sign in to comment.