There was an error while loading. Please reload this page.
1 parent a02fcf8 commit 8cbcfe2Copy full SHA for 8cbcfe2
lib/geo_phone/phone.rb
@@ -29,7 +29,6 @@ def location
29
current_offset = middle * INDEX_LENGTH
30
return if current_offset + Database.instance.index_offset >= Database.instance.file_size
31
cur_phone, record_offset, phone_type = Database.instance.index[current_offset..(current_offset+INDEX_LENGTH)].unpack(INDEX_FMT)
32
- p "#{cur_phone}, #{record_offset}, #{phone_type}"
33
if cur_phone > int_phone
34
right = middle - 1
35
elsif cur_phone < int_phone
0 commit comments