Class: Partitioned::PartitionedBase::Configurator::Data::Index
- Inherits:
-
Object
- Object
- Partitioned::PartitionedBase::Configurator::Data::Index
- Defined in:
- lib/partitioned/partitioned_base/configurator/data.rb
Overview
represents a SQL index
Instance Attribute Summary collapse
-
#field ⇒ Object
Returns the value of attribute field.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(field, options = {}) ⇒ Index
constructor
A new instance of Index.
Constructor Details
#initialize(field, options = {}) ⇒ Index
Returns a new instance of Index.
11 12 13 14 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 11 def initialize(field, = {}) @field = field @options = end |
Instance Attribute Details
#field ⇒ Object
Returns the value of attribute field.
10 11 12 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 10 def field @field end |
#options ⇒ Object
Returns the value of attribute options.
10 11 12 |
# File 'lib/partitioned/partitioned_base/configurator/data.rb', line 10 def @options end |