diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-14 03:34:05 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-14 03:34:05 +0000 |
commit | 49ecbb73cc188b7eadac6cd1a459b3649a3262dc (patch) | |
tree | 347720b09a9bb0f08d442141b51ed074ce43e6b9 /lib/rdoc.rb | |
parent | 933da53cb15c52b34a4b4b3def7282f4b5fc9631 (diff) | |
download | ruby-49ecbb73cc188b7eadac6cd1a459b3649a3262dc.tar.gz ruby-49ecbb73cc188b7eadac6cd1a459b3649a3262dc.tar.xz ruby-49ecbb73cc188b7eadac6cd1a459b3649a3262dc.zip |
Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc.rb')
-rw-r--r-- | lib/rdoc.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/rdoc.rb b/lib/rdoc.rb index 0d2dc2676..25989189a 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 |