class TransactionQL::Any
Attributes
expressions[R]
Public Class Methods
new(expressions)
click to toggle source
# File lib/transaction_ql/expressions.rb, line 43 def initialize(expressions) @expressions = expressions end
Public Instance Methods
matches?(hash)
click to toggle source
# File lib/transaction_ql/expressions.rb, line 47 def matches?(hash) @expressions.map { |exp| exp.matches? hash }.any? end