Sha256: 08e70b14028c801300a6402951100ea8955809e2a68d5c7d94060d7549e19bfe
Contents?: true
Size: 489 Bytes
Versions: 25
Compression:
Stored size: 489 Bytes
Contents
module Mobility module Backends module Sequel def setup_query_methods(query_methods) setup do |attributes, options| extend(Module.new do define_method ::Mobility.query_method do super().with_extend(query_methods.new(attributes, options)) end end) end end def self.included(backend_class) backend_class.include(Backend) backend_class.extend(self) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems