☰
Debian Codegraph
@
1:11.8.9+ds-4
1:11.8.9+ds-3
1:11.8.9+ds-2
1:11.8.9+ds-1
1:11.8.8-1
/
/
storage
/
mroonga
/
vendor
/
groonga
/
lib
/
mrb
/
scripts
/
index_cursor.rb
☽
☼
storage/mroonga/vendor/groonga/lib/mrb/scripts/index_cursor.rb
code
plain
raw
LGPL-2.1+
2011-2015 Kouhei Sutou <
[email protected]
>; 2011-2013 Kentoku SHIBA; 2010 Tetsuro IKEDA; 2014 Kenji Maruyama <
[email protected]
>; 2014-2015 Naoya Murakami <
[email protected]
>
debian/copyright
1
module Groonga
2
class IndexCursor
3
class << self
4
def open(*arguments)
5
cursor = open_raw(*arguments)
6
if block_given?
7
begin
8
yield(cursor)
9
ensure
10
cursor.close
11
end
12
else
13
cursor
14
end
15
end
16
end
17
end
18
end