Class: Arel::Nodes::Regexp
- Defined in:
- lib/arel/nodes/regexp.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#case_sensitive ⇒ Object
Returns the value of attribute case_sensitive.
Attributes inherited from Binary
Instance Method Summary collapse
-
#initialize(left, right, case_sensitive = true) ⇒ Regexp
constructor
A new instance of Regexp.
Methods inherited from Binary
#eql?, #hash, #initialize_copy
Methods inherited from Node
#_caller, #and, #each, #not, #or, #to_sql
Methods included from FactoryMethods
#create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, #lower
Constructor Details
#initialize(left, right, case_sensitive = true) ⇒ Regexp
Returns a new instance of Regexp.
6 7 8 9 |
# File 'lib/arel/nodes/regexp.rb', line 6 def initialize(left, right, case_sensitive = true) super(left, right) @case_sensitive = case_sensitive end |
Instance Attribute Details
#case_sensitive ⇒ Object
Returns the value of attribute case_sensitive.
4 5 6 |
# File 'lib/arel/nodes/regexp.rb', line 4 def case_sensitive @case_sensitive end |