mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
<evanfarrar at gmail.com> in [ruby-doc:1382] applied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
106e48e5d8
commit
e6c1752137
58 changed files with 96 additions and 91 deletions
|
@ -17,7 +17,7 @@ require 'rdoc'
|
|||
# RDoc::Markup is intended to be the basis for a family of tools which share
|
||||
# the common requirement that simple, plain-text should be rendered in a
|
||||
# variety of different output formats and media. It is envisaged that
|
||||
# RDoc::Markup could be the basis for formating RDoc style comment blocks,
|
||||
# RDoc::Markup could be the basis for formatting RDoc style comment blocks,
|
||||
# Wiki entries, and online FAQs.
|
||||
#
|
||||
# = Basic Formatting
|
||||
|
@ -129,7 +129,7 @@ require 'rdoc'
|
|||
#
|
||||
# You can extend the RDoc::Markup parser to recognise new markup
|
||||
# sequences, and to add special processing for text that matches a
|
||||
# regular epxression. Here we make WikiWords significant to the parser,
|
||||
# regular expression. Here we make WikiWords significant to the parser,
|
||||
# and also make the sequences {word} and \<no>text...</no> signify
|
||||
# strike-through text. When then subclass the HTML output class to deal
|
||||
# with these:
|
||||
|
@ -197,7 +197,7 @@ class RDoc::Markup
|
|||
|
||||
##
|
||||
# Add to the sequences used to add formatting to an individual word (such
|
||||
# as *bold*). Matching entries will generate attibutes that the output
|
||||
# as *bold*). Matching entries will generate attributes that the output
|
||||
# formatters can recognize by their +name+.
|
||||
|
||||
def add_word_pair(start, stop, name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue