Class: RIO::Match::Record::And
Instance Method Summary collapse
-
#initialize(matches, therio) ⇒ And
constructor
A new instance of And.
- #match?(val, recno) ⇒ Boolean
Methods inherited from Base
#inspect, #match_all?, #match_none?, #val
Constructor Details
Instance Method Details
#match?(val, recno) ⇒ Boolean
105 106 107 108 |
# File 'lib/rio/matchrecord.rb', line 105 def match?(val,recno) #p "match?(#{val},#{recno}) select_arg=#{@select_arg}" @select_arg.all? { |sel| sel.match?(val,recno) } end |