Sha256: 1b04c49ba85536ce47839a9d3965e3798bcfab852d1213311084bb6da0cf6c14
Contents?: true
Size: 216 Bytes
Versions: 1
Compression:
Stored size: 216 Bytes
Contents
module Mysql2QueryFilter::Plugin class Test < Mysql2QueryFilter::Base Mysql2QueryFilter::Plugin.register(:test_plugin, self) def filter(sql, query_options) sql << ' through plugin' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mysql2_query_filter-0.1.0 | spec/mysql2_query_filter/plugin/test_plugin.rb |