Class: ActiveRecordSchema::Index
- Inherits:
-
Object
- Object
- ActiveRecordSchema::Index
- Defined in:
- lib/active_record_schema/index.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Index
constructor
A new instance of Index.
Constructor Details
#initialize(name, options = {}) ⇒ Index
Returns a new instance of Index.
4 5 6 7 |
# File 'lib/active_record_schema/index.rb', line 4 def initialize(name, = {}) @name = name @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/active_record_schema/index.rb', line 3 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/active_record_schema/index.rb', line 3 def @options end |