class Jewelry

Constants

HEIRLOOM

Attributes

heirloom[RW]

Public Instance Methods

heirloom?() click to toggle source
# File lib/Olib/objects/jewelry.rb, line 5
def heirloom?
  result = Olib.do "look ##{@id}", /^You see nothing unusual/ | HEIRLOOM
  @heirloom = result =~ HEIRLOOM ? true : false
  @heirloom
end