aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/normal_module.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-02 00:32:30 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-02 00:32:30 +0000
commitcc2a16d94d744d14d4a5eb06eca22137f8a9b79e (patch)
tree2907a20e2d9ae3a2831707056bb3fe2d384b066d /lib/rdoc/normal_module.rb
parent918f625a5eeba35b9b191cb39c1d634b4cc7efee (diff)
downloadruby-cc2a16d94d744d14d4a5eb06eca22137f8a9b79e.tar.gz
Import RDoc 3.5.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/normal_module.rb')
-rw-r--r--lib/rdoc/normal_module.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rdoc/normal_module.rb b/lib/rdoc/normal_module.rb
index 74a31f2668..0fa7223547 100644
--- a/lib/rdoc/normal_module.rb
+++ b/lib/rdoc/normal_module.rb
@@ -13,6 +13,13 @@ class RDoc::NormalModule < RDoc::ClassModule
end
##
+ # The definition of this module, <tt>module MyModuleName</tt>
+
+ def definition
+ "module #{full_name}"
+ end
+
+ ##
# This is a module, returns true
def module?