mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Use the word heredocs in Here Documents docs
Two advantages: - higher relevance of the extremely common word "heredocs" which may help people find this page when searching for "ruby heredocs" - the anchor link becomes `#label-Here+Documents+-28heredocs-29`, which is ugly due to the parentheses but includes the word "heredocs" in the URL to this section If anyone knows a way to prevent RDoc from turning invalid characters into ugly and meaningless ASCII codes, I'm listening. I don't want to break existing anchor links but RDoc should really ignore these characters or turn them into dashes. Closes: https://github.com/ruby/ruby/pull/2103
This commit is contained in:
		
							parent
							
								
									9311656914
								
							
						
					
					
						commit
						8e7df4bbf9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -193,7 +193,7 @@ a single codepoint in the script encoding:
 | 
			
		|||
  ?\C-\M-a #=> "\x81", same as above
 | 
			
		||||
  ?あ      #=> "あ"
 | 
			
		||||
 | 
			
		||||
=== Here Documents
 | 
			
		||||
=== Here Documents (heredocs)
 | 
			
		||||
 | 
			
		||||
If you are writing a large block of text you may use a "here document" or
 | 
			
		||||
"heredoc":
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue