Method: Index::Entry#to_s

Defined in:
lib/index/entry.rb

#to_sObject



85
86
87
88
89
# File 'lib/index/entry.rb', line 85

def to_s
  string = to_a.pack(ENTRY_FORMAT)
  string.concat("\0") until string.bytesize % ENTRY_BLOCK == 0
  string
end