Sha256: 9901046df922012b1bae2e0f87878efff9ad8fe9e48226f29dd9252e2d6034df
Contents?: true
Size: 452 Bytes
Versions: 36
Compression:
Stored size: 452 Bytes
Contents
# lib/gemwarrior/entities/items/apple.rb # Entity::Item::Apple require_relative '../item' module Gemwarrior class Apple < Item def initialize super self.name = 'apple' self.name_display = 'Apple' self.description = 'Reddish-orangeish in color, this fruit looks sweet, but it is heavy and feels more like a rock you would sooner not bite into.' self.takeable = true end end end
Version data entries
36 entries across 36 versions & 1 rubygems