class TransactionQL::All

Attributes

expressions[R]

Public Class Methods

new(expressions) click to toggle source
# File lib/transaction_ql/expressions.rb, line 32
def initialize(expressions)
  @expressions = expressions
end

Public Instance Methods

matches?(hash) click to toggle source
# File lib/transaction_ql/expressions.rb, line 36
def matches?(hash)
  @expressions.map { |exp| exp.matches? hash }.all?
end