mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cbd4604c53
commit
fcb0b1f503
31 changed files with 2573 additions and 2863 deletions
18
lib/rdoc.rb
18
lib/rdoc.rb
|
@ -3,6 +3,13 @@
|
|||
|
||||
module RDoc
|
||||
|
||||
##
|
||||
# Exception thrown by any rdoc error.
|
||||
|
||||
class Error < RuntimeError; end
|
||||
|
||||
RDocError = Error # :nodoc:
|
||||
|
||||
##
|
||||
# RDoc version you are using
|
||||
|
||||
|
@ -14,5 +21,16 @@ module RDoc
|
|||
|
||||
DOT_DOC_FILENAME = ".document"
|
||||
|
||||
GENERAL_MODIFIERS = %w[nodoc].freeze
|
||||
|
||||
CLASS_MODIFIERS = GENERAL_MODIFIERS
|
||||
|
||||
ATTR_MODIFIERS = GENERAL_MODIFIERS
|
||||
|
||||
CONSTANT_MODIFIERS = GENERAL_MODIFIERS
|
||||
|
||||
METHOD_MODIFIERS = GENERAL_MODIFIERS +
|
||||
%w[arg args yield yields notnew not-new not_new doc]
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue