diff --git a/lib/polecat/index_writer.rb b/lib/polecat/index_writer.rb index b4c6273..1cbab1c 100644 --- a/lib/polecat/index_writer.rb +++ b/lib/polecat/index_writer.rb @@ -8,6 +8,7 @@ class Polecat # file is written as an extra lock. It then writes a new file into the # directory, which has all documents. class IndexWriter + attr_reader :path # create a new IndexWriter # @@ -24,13 +25,6 @@ class Polecat end end - # returns the path of the IndexWriter - # - # @return [String] the path of the IndexWriter - def path - @path - end - # returns the count of elements not flushed # # This method returns the count of all elements stored in the Writer, but