bin/box.rb: Lesser Backtrace

This commit is contained in:
Denis Knauf 2010-03-21 00:59:45 +01:00
parent 054be00221
commit 04c6eb32b4
2 changed files with 11 additions and 6 deletions

View file

@ -3,8 +3,12 @@ require 'safebox/safebox'
class Safebox::Box
attr_reader :_, :db
def initialize db, _ = nil
@_, @db = _, db
def initialize db, _ = nil, _e
@_, @db, @_e = _, db, _e
end
def _!
@_e
end
def put key, val