mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
Reference in a new issue