module IndexBuilder::ClassMethods
Public Instance Methods
find_index(name)
click to toggle source
# File lib/redisant/index_builder.rb, line 11 def find_index name indexes[name.to_s] end
index(name, options={})
click to toggle source
# File lib/redisant/index_builder.rb, line 7 def index name, options={} indexes[name.to_s] ||= Index.new name, self, options end
indexes()
click to toggle source
# File lib/redisant/index_builder.rb, line 15 def indexes @indexes ||= {} end