module ActiveSet::Filtering::Enumerable::Operators
rubocop:disable Metrics/ModuleLength
Constants
- NOT_TRANSFORMER
- PREDICATES
- RANGE_TRANSFORMER
- REGEXP_TRANSFORMER
- STRING_TRANSFORMER
Public Class Methods
get(operator_name)
click to toggle source
# File lib/active_set/filtering/enumerable/operators.rb, line 296 def self.get(operator_name) operator_key = operator_name.to_s.upcase.to_sym base_operator_hash = Constants::PREDICATES.fetch(operator_key, {}) this_operator_hash = Operators::PREDICATES.fetch(operator_key, {}) base_operator_hash.merge(this_operator_hash) end