Class: RuDB::ErrorCode

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

Overview

FIXME: should also marshal error_category (somehow)

Instance Method Summary collapse

Instance Method Details

#marshal_dumpObject



12
13
14
# File 'lib/rudb.rb', line 12

def marshal_dump
  value
end

#marshal_load(val) ⇒ Object



16
17
18
# File 'lib/rudb.rb', line 16

def marshal_load(val)
  self.value = val
end