Class: ROM::SQL::Schema::IndexDSL

Inherits:
Object
  • Object
show all
Extended by:
Initializer
Defined in:
lib/rom/sql/schema/index_dsl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#registryObject (readonly)



14
15
16
# File 'lib/rom/sql/schema/index_dsl.rb', line 14

def registry
  @registry
end

Instance Method Details

#index(*attributes, **options) ⇒ Object



27
28
29
# File 'lib/rom/sql/schema/index_dsl.rb', line 27

def index(*attributes, **options)
  registry << [attributes, options]
end