summaryrefslogtreecommitdiff
path: root/lib/rdoc.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-14 03:34:05 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-14 03:34:05 +0000
commitfcb0b1f503b392e446e8ee4b1033e1e7c0e7d0fe (patch)
tree347720b09a9bb0f08d442141b51ed074ce43e6b9 /lib/rdoc.rb
parentcbd4604c530bd798db321a78d2f7bca4f568ba45 (diff)
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
Diffstat (limited to 'lib/rdoc.rb')
-rw-r--r--lib/rdoc.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/rdoc.rb b/lib/rdoc.rb
index 0d2dc26764..25989189ad 100644
--- a/lib/rdoc.rb
+++ b/lib/rdoc.rb
@@ -4,6 +4,13 @@
module RDoc
##
+ # Exception thrown by any rdoc error.
+
+ class Error < RuntimeError; end
+
+ RDocError = Error # :nodoc:
+
+ ##
# RDoc version you are using
VERSION = "2.0.0"
@@ -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