Module: RedhillonrailsCore::ActiveRecord::ConnectionAdapters::IndexDefinition

Defined in:
lib/redhillonrails_core/active_record/connection_adapters/index_definition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#conditionsObject

Returns the value of attribute conditions.



5
6
7
# File 'lib/redhillonrails_core/active_record/connection_adapters/index_definition.rb', line 5

def conditions
  @conditions
end

#expressionObject

Returns the value of attribute expression.



5
6
7
# File 'lib/redhillonrails_core/active_record/connection_adapters/index_definition.rb', line 5

def expression
  @expression
end

#kindObject

Returns the value of attribute kind.



5
6
7
# File 'lib/redhillonrails_core/active_record/connection_adapters/index_definition.rb', line 5

def kind
  @kind
end

Instance Method Details

#case_sensitive=(case_sensitive) ⇒ Object



11
12
13
# File 'lib/redhillonrails_core/active_record/connection_adapters/index_definition.rb', line 11

def case_sensitive=(case_sensitive)
  @case_sensitive = case_sensitive
end

#case_sensitive?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/redhillonrails_core/active_record/connection_adapters/index_definition.rb', line 7

def case_sensitive?
  @case_sensitive.nil? ? true : @case_sensitive
end