WordNet::
Model class
Superclass | Object |
Extended With |
|
The base WordNet
database-backed domain class. It’s a subclass of Sequel::Model, so you’ll first need to be familiar with Sequel (sequel.jeremyevans.net/) and especially its Sequel::Model ORM.
Attributes
- registered_models R
Public Class Methods
Reset the database connection that all model objects will use.
Load any models which have been registered.
Register a model subclass path to load when the database is connected. If there’s already a database connection, just ‘require` it immediately.