mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Singleton.instance [ci skip]
This commit is contained in:
parent
2d1728b9ce
commit
023360ee4b
1 changed files with 4 additions and 0 deletions
|
@ -170,4 +170,8 @@ module Singleton
|
|||
##
|
||||
# :singleton-method: _load
|
||||
# By default calls instance(). Override to retain singleton state.
|
||||
|
||||
##
|
||||
# :singleton-method: instance
|
||||
# Returns the singleton instance.
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue