mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/singleton.rb: fix indentation of RDoc text. [ruby-core:21029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									fd855a082b
								
							
						
					
					
						commit
						0d2e8c14bb
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -9,9 +9,9 @@
 | 
			
		|||
# *  this ensures that only one instance of Klass lets call it
 | 
			
		||||
#    ``the instance'' can be created.
 | 
			
		||||
#
 | 
			
		||||
#    a,b  = Klass.instance, Klass.instance
 | 
			
		||||
#    a == b   # => true
 | 
			
		||||
#    a.new    #  NoMethodError - new is private ...
 | 
			
		||||
#      a,b  = Klass.instance, Klass.instance
 | 
			
		||||
#      a == b   # => true
 | 
			
		||||
#      a.new    #  NoMethodError - new is private ...
 | 
			
		||||
#
 | 
			
		||||
# *  ``The instance'' is created at instantiation time, in other
 | 
			
		||||
#    words the first call of Klass.instance(), thus
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue