Class: ActiveRecord::Bitemporal::Relation::WhereClauseWithCheckTable

Inherits:
Relation::WhereClause
  • Object
show all
Defined in:
lib/activerecord-bitemporal/scope.rb

Instance Method Summary collapse

Instance Method Details

#bitemporal_include?(column) ⇒ Boolean

Returns:

  • (Boolean)


133
134
135
136
137
# File 'lib/activerecord-bitemporal/scope.rb', line 133

def bitemporal_include?(column)
  !!predicates.grep(::Arel::Nodes::Node).find do |node|
    node.bitemporal_include?(column)
  end
end