Module: GamesAndRpgParadise::MUD::Wearable
- Defined in:
- lib/games_and_rpg_paradise/mud/wearable/wearable.rb
Overview
GamesAndRpgParadise::MUD::Wearable
Instance Method Summary collapse
-
#remove_cloth(i) ⇒ Object
# === remove_cloth ========================================================================= #.
Instance Method Details
#remove_cloth(i) ⇒ Object
#
remove_cloth
#
22 23 24 25 26 27 28 |
# File 'lib/games_and_rpg_paradise/mud/wearable/wearable.rb', line 22 def remove_cloth(i) if i.respond_to?(:is_wearable?) and i.is_wearable? wearables?.delete(i) else e "But you do not wear a #{i.name}." end end |