class HotDog
@condiments
def getCondiments
return @condiments // @condiments is an instance variable of an instance of HotDog
end
end
note the mod to both the ivar def and the comment. You also do not need the initial ivar "definition" as ruby defines them on the fly when they are first referenced.