From fcb0b1f503b392e446e8ee4b1033e1e7c0e7d0fe Mon Sep 17 00:00:00 2001 From: drbrain Date: Mon, 14 Jan 2008 03:34:05 +0000 Subject: 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 --- lib/rdoc.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'lib/rdoc.rb') diff --git a/lib/rdoc.rb b/lib/rdoc.rb index 0d2dc26764..25989189ad 100644 --- a/lib/rdoc.rb +++ b/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 -- cgit v1.2.3