Hopefully getting the database to init and reset itself (in testground.rb, need to make that more of a active_rpg.rb thing...
This commit is contained in:
parent
3579f47eda
commit
d81c397629
7 changed files with 35 additions and 25 deletions
|
|
@ -1,8 +1,8 @@
|
|||
load "mongo_document_wrapper.rb"
|
||||
load "active_sqlite_record.rb"
|
||||
|
||||
class Entity < MongoDocumentWrapper
|
||||
def initialize(mc, doc=nil)
|
||||
super(mc, doc)
|
||||
class Entity < ActiveSqliteRecord
|
||||
def initialize(sc, row={})
|
||||
super(sc, row)
|
||||
end
|
||||
|
||||
def resolve(target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue