class Degica::InventoryCollection
Public Instance Methods
describe()
click to toggle source
# File lib/degica/collections/inventory_collection.rb, line 7 def describe if empty? "You have no items in your inventory." else "[" + map(&:name).join(', ') + "]" end end
prompt()
click to toggle source
# File lib/degica/collections/inventory_collection.rb, line 3 def prompt "inventory" end