diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 08:54:03 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-27 08:54:03 +0000 |
commit | 6d1266a879a94a6f76106e1bbdfa3576b6612a69 (patch) | |
tree | 5c88a98d9e588861138e63be7d45353627dcab43 /lib/rdoc/comment.rb | |
parent | 7de9e2dfdeefeefe6c3d4ff9ebafa8c947eca33f (diff) | |
download | ruby-6d1266a879a94a6f76106e1bbdfa3576b6612a69.tar.gz |
* lib/rdoc/*: Added --root option for building documentation outside
the source directory.
* test/rdoc/*: ditto
* common.mk (rdoc): Added --root to rdoc rule
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/comment.rb')
-rw-r--r-- | lib/rdoc/comment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/comment.rb b/lib/rdoc/comment.rb index 25e7c966c8..2b5be44ee5 100644 --- a/lib/rdoc/comment.rb +++ b/lib/rdoc/comment.rb @@ -148,7 +148,7 @@ class RDoc::Comment end def inspect # :nodoc: - location = @location ? @location.absolute_name : '(unknown)' + location = @location ? @location.relative_name : '(unknown)' "#<%s:%x %s %p>" % [self.class, object_id, location, @text] end |