class Pistaa::Slot
Public Instance Methods
[](item_key)
click to toggle source
# File lib/pistaa.rb, line 23 def [](item_key) raise IndexError if items[item_key.to_sym].nil? items[item_key.to_sym] end
[]=(item_key, template)
click to toggle source
# File lib/pistaa.rb, line 28 def []=(item_key, template) items[item_key.to_sym] = template end
item_keys()
click to toggle source
# File lib/pistaa.rb, line 32 def item_keys items.keys end
Protected Instance Methods
items()
click to toggle source
# File lib/pistaa.rb, line 38 def items @items ||= Hash.new end