Method: Arel::Nodes::Matches#initialize
- Defined in:
- lib/arel/nodes/matches.rb
#initialize(left, right, escape = nil, case_sensitive = false) ⇒ Matches
Returns a new instance of Matches.
9 10 11 12 13 |
# File 'lib/arel/nodes/matches.rb', line 9 def initialize(left, right, escape = nil, case_sensitive = false) super(left, right) @escape = escape && Nodes.build_quoted(escape) @case_sensitive = case_sensitive end |