Module: Sequel::Plugins::Meta
- Defined in:
- lib/clevic/sequel_meta.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.configure(model, options = {}) ⇒ Object
plugin :meta calls this.
Class Method Details
.configure(model, options = {}) ⇒ Object
plugin :meta calls this. model is the model class. The rest is whatever options are in the plugin call
plugin :meta
11 12 13 14 15 |
# File 'lib/clevic/sequel_meta.rb', line 11 def self.configure(model, = {}) model.instance_eval do # store model-related stuff here end end |