lib/esse/index/backend.rb in esse-0.0.5 vs lib/esse/index/backend.rb in esse-0.1.1

- old
+ new

@@ -1,12 +1,13 @@ # frozen_string_literal: true module Esse class Index module ClassMethods - def backend + def elasticsearch Esse::Backend::Index.new(self) end + alias_method :backend, :elasticsearch end extend ClassMethods end end