Module: Sequel::Plugins::ArMethods
- Defined in:
- lib/clevic/ar_methods.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.configure(model, options = {}) ⇒ Object
plugin :ar_methods calls this.
Class Method Details
.configure(model, options = {}) ⇒ Object
plugin :ar_methods calls this. model is the model class. The rest is whatever options are in the plugin call, possibility for
plugin :ar_methods :override_sequel => true
76 77 78 79 80 |
# File 'lib/clevic/ar_methods.rb', line 76 def self.configure(model, = {}) model.instance_eval do # store model-related stuff here end end |