Returns the value of attribute opt_index.
3 4 5
# File 'lib/elastify/model.rb', line 3 def opt_index @opt_index end