Class: ActiveRecord::ConnectionAdapters::IndexDefinition

Inherits:
Struct
  • Object
show all
Defined in:
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#columnsObject

Returns the value of attribute columns

Returns:

  • (Object)

    the current value of columns



9
10
11
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 9

def columns
  @columns
end

#lengthsObject

Returns the value of attribute lengths

Returns:

  • (Object)

    the current value of lengths



9
10
11
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 9

def lengths
  @lengths
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 9

def name
  @name
end

#tableObject

Returns the value of attribute table

Returns:

  • (Object)

    the current value of table



9
10
11
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 9

def table
  @table
end

#uniqueObject

Returns the value of attribute unique

Returns:

  • (Object)

    the current value of unique



9
10
11
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 9

def unique
  @unique
end