Skip to content

Commit f06bd4a

Browse files
committed
doc: clean up doc strings in fork_safety.rb
[skip ci]
1 parent 48eb4fc commit f06bd4a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lib/sqlite3/fork_safety.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
require "weakref"
44

5-
# based on Rails's active_support/fork_tracker.rb
65
module SQLite3
6+
# based on Rails's active_support/fork_tracker.rb
77
module ForkSafety
8-
module CoreExt
8+
module CoreExt # :nodoc:
99
def _fork
1010
pid = super
1111
if pid == 0
@@ -20,17 +20,17 @@ def _fork
2020
@suppress = false
2121

2222
class << self
23-
def hook!
23+
def hook! # :nodoc:
2424
::Process.singleton_class.prepend(CoreExt)
2525
end
2626

27-
def track(database)
27+
def track(database) # :nodoc:
2828
@mutex.synchronize do
2929
@databases << WeakRef.new(database)
3030
end
3131
end
3232

33-
def discard
33+
def discard # :nodoc:
3434
warned = @suppress
3535
@databases.each do |db|
3636
next unless db.weakref_alive?

0 commit comments

Comments
 (0)