0
0
Fork 0

convert the method to attr_reader

This commit is contained in:
Gibheer 2011-05-30 16:01:30 +02:00
parent 7e6b2c1340
commit fcfc48c3ec
1 changed files with 1 additions and 7 deletions

View File

@ -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