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:
Alex Stevenson 2025-07-17 00:44:04 -04:00
parent 3579f47eda
commit d81c397629
7 changed files with 35 additions and 25 deletions

View file

@ -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)