bin/box.rb: Lesser Backtrace
This commit is contained in:
parent
054be00221
commit
04c6eb32b4
2 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue