Class: Jewelry
Constant Summary collapse
- HEIRLOOM =
/are the initials ([A-Z]{2})./
Constants inherited from Exist
Instance Attribute Summary collapse
-
#heirloom ⇒ Object
Returns the value of attribute heirloom.
Attributes inherited from Item
Attributes inherited from Exist
Instance Method Summary collapse
Methods inherited from Item
#appraise, fetch, #held?, #initialize, of, #sell, #stash, #take, #to_json, #transaction, #use, #worn?
Methods inherited from Exist
#==, #deconstruct_keys, #effects, #exists?, #fetch, fetch, #gone?, #initialize, #method_missing, normalize_type_data, #respond_to_missing?, scan, #tags, #to_h, #to_s
Constructor Details
This class inherits a constructor from Item
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Exist
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 |