Class: Jewelry
- Inherits:
-
Olib::Item
- Object
- Olib::Gameobj_Extender
- Olib::Item
- Jewelry
- Defined in:
- lib/Olib/objects/jewelry.rb
Constant Summary collapse
- HEIRLOOM =
/are the initials ([A-Z]{2})./
Constants inherited from Olib::Item
Olib::Item::SOLD, Olib::Item::TYPES, Olib::Item::WORTHLESS, Olib::Item::WRONG_SHOP
Instance Attribute Summary collapse
-
#heirloom ⇒ Object
Returns the value of attribute heirloom.
Attributes inherited from Olib::Item
Attributes inherited from Olib::Gameobj_Extender
Instance Method Summary collapse
Methods inherited from Olib::Item
#==, #_drag, #_inspect, #acquire_from_shop, #action, #add, #affordable?, #analyze, #buy, #buyable?, #cost, #crawl, #define, #drop, #exists?, #give, #has?, #in, #initialize, #is?, #look, #missing?, #price, #pull, #pullable?, #read, #remove, #sell, #shake, #shop_sell, #stash, #tag, #tags, #take, #tap, #to_s, #turn, type_methods, #untag, #use, #wear, #worn?
Methods inherited from Olib::Gameobj_Extender
#__extend__, #at, #echo, #initialize
Constructor Details
This class inherits a constructor from Olib::Item
Instance Attribute Details
#heirloom ⇒ Object
Returns the value of attribute heirloom.
4 5 6 |
# File 'lib/Olib/objects/jewelry.rb', line 4 def heirloom @heirloom end |