class Dessert
attr_accessor :name, :calories
def initialize(name,calories)
@name=name
@calories=Float(calories)
end
def healthy?
calories<200
end
def delicious?
end
end
icecream=Dessert.new('ice',100)
p icecream
p icecream.healthy?
Y2xhc3MgRGVzc2VydAphdHRyX2FjY2Vzc29yIDpuYW1lLCA6Y2Fsb3JpZXMKICAgICAgICBkZWYgaW5pdGlhbGl6ZShuYW1lLGNhbG9yaWVzKQogICAgICAgIEBuYW1lPW5hbWUKICAgICAgICBAY2Fsb3JpZXM9RmxvYXQoY2Fsb3JpZXMpCiAgICAgICAgZW5kIAoKICAgICAgICBkZWYgaGVhbHRoeT8KICAgICAgICBjYWxvcmllczwyMDAKICAgICAgICBlbmQgCiAgICAKICAgICAgICBkZWYgZGVsaWNpb3VzPwogICAgICAgIGVuZCAKZW5kCmljZWNyZWFtPURlc3NlcnQubmV3KCdpY2UnLDEwMCkKcCBpY2VjcmVhbQpwIGljZWNyZWFtLmhlYWx0aHk/