Class ItemStore
In: femto.rb
Parent: Object

Very simple storage of instances of Item using PStore. The allowed sections are read from the Assets.

Methods

Attributes

sections  [R] 

Public Class methods

Public Instance methods

Store the passed item if the the section is available.

Find an item with Item@deletid equalling id and remove it.

Debugging: dump the current store to stdout.

Find item only by ID, in contrast do ImteStore#read_item which references by section and ID

Return whether this ItemStore has section sect.

Return an array if Items in section.

Return the it with id in section sect or "Unknown".

Find all items older than old_age seconds and remove them from the store.

[Validate]