Class: SkypeR::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/skyper/error.rb

Constant Summary collapse

@@table =
PStore.new('error.obj')

Class Method Summary collapse

Class Method Details

.lookup(num) ⇒ Object



8
9
10
11
12
13
# File 'lib/skyper/error.rb', line 8

def self.lookup(num)
  table = PStore.new('error.obj')
  table.transaction do
    p table[num]
  end
end