diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-05 10:35:30 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-05 10:35:30 +0000 |
commit | 8186c3994e0cf1f91070176af66846d8f1556ec4 (patch) | |
tree | 362b9fc870edb3820ef488a6618baf5669d3aa48 /lib/rdoc/context | |
parent | 0de432c787ece6a2ad88a8694526da29ad663b62 (diff) | |
download | ruby-8186c3994e0cf1f91070176af66846d8f1556ec4.tar.gz |
* lib/rdoc/*, test/rdoc/*: Update rdoc/rdoc master(f191513)
https://github.com/rdoc/rdoc/blob/master/History.rdoc#423--2016--
https://github.com/rdoc/rdoc/blob/master/History.rdoc#422--2016-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/context')
-rw-r--r-- | lib/rdoc/context/section.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/rdoc/context/section.rb b/lib/rdoc/context/section.rb index 90f184cb89..7c3c8c603d 100644 --- a/lib/rdoc/context/section.rb +++ b/lib/rdoc/context/section.rb @@ -58,6 +58,8 @@ class RDoc::Context::Section self.class === other and @title == other.title end + alias eql? == + ## # Adds +comment+ to this section @@ -128,6 +130,10 @@ class RDoc::Context::Section "#<%s:0x%x %p>" % [self.class, object_id, title] end + def hash # :nodoc: + @title.hash + end + ## # The files comments in this section come from |