Class: ROM::SQL::Schema::IndexDSL
- Inherits:
-
Object
- Object
- ROM::SQL::Schema::IndexDSL
- Extended by:
- Initializer
- Defined in:
- lib/rom/sql/schema/index_dsl.rb
Instance Attribute Summary collapse
- #registry ⇒ Object readonly
Instance Method Summary collapse
Instance Attribute Details
#registry ⇒ Object (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, **) registry << [attributes, ] end |