Method: Autoproj::QueryBase#initialize
- Defined in:
- lib/autoproj/query_base.rb
#initialize(fields, value, partial) ⇒ QueryBase
Returns a new instance of QueryBase.
35 36 37 38 39 40 |
# File 'lib/autoproj/query_base.rb', line 35 def initialize(fields, value, partial) @fields = fields @value = value @value_rx = Regexp.new(Regexp.quote(value), true) @partial = partial end |