Module: Specifind::Comparators
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/specifind/comparators.rb,
lib/specifind/comparators/base.rb,
lib/specifind/comparators/mysql2.rb,
lib/specifind/comparators/sq_lite3.rb,
lib/specifind/comparators/postgre_sql.rb
Overview
Comparator holds the logic for each type of comparator that is use in MethodBuilder definition.
The data are held in the class definition as [identifier (String), number of parameters (int), parameter suffixes (list of String), and sql creators (Procs)].
Defined Under Namespace
Classes: Base, Mysql2, PostgreSQL, SQLite3
Class Method Summary collapse
Class Method Details
.generate_comparators ⇒ Object
14 15 16 17 18 |
# File 'lib/specifind/comparators.rb', line 14 def self.generate_comparators SQLite3.generate_comparators Mysql2.generate_comparators PostgreSQL.generate_comparators end |