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