123456789_123456789_123456789_123456789_123456789_

Class: Arel::Nodes::Matches

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Arel::Nodes::Binary
Defined in: activerecord/lib/arel/nodes/matches.rb

Class Method Summary

Instance Attribute Summary

Binary - Inherited

Node - Inherited

Instance Method Summary

Constructor Details

.new(left, right, escape = nil, case_sensitive = false) ⇒ Matches

[ GitHub ]

  
# File 'activerecord/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

Instance Attribute Details

#case_sensitive (rw)

[ GitHub ]

  
# File 'activerecord/lib/arel/nodes/matches.rb', line 7

attr_accessor :case_sensitive

#escape (readonly)

[ GitHub ]

  
# File 'activerecord/lib/arel/nodes/matches.rb', line 6

attr_reader :escape