Class: Hash

Inherits:
Object
  • Object
show all
Includes:
Squeel::Nodes::PredicateOperators
Defined in:
lib/squeel/core_ext/hash.rb

Overview

Hashes are “acceptable” by PredicateVisitor, so they can be treated like nodes for the purposes of and/or/not if you load these extensions.

Examples:

Load Hash extensions

Squeel.configure do |config|
  config.load_core_extensions :hash
end

Method Summary

Methods included from Squeel::Nodes::PredicateOperators

#&, #-@, #|