Method: Roby::Queries::TaskMatcher.match_indexed_predicates
- Defined in:
- lib/roby/queries/task_matcher.rb
.match_indexed_predicates(*names) ⇒ Object
195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/roby/queries/task_matcher.rb', line 195 def match_indexed_predicates(*names) names.each do |n| unless Index::PREDICATES.include?(n) raise ArgumentError, "#{n} is not declared in Index::PREDICATES. Use "\ "match_indexed_predicate directly to override "\ "this check" end match_indexed_predicate(n) end end |