mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Sync RDoc 6.14.0
This commit is contained in:
parent
ca1ea95784
commit
03eb777c69
185 changed files with 2008 additions and 1655 deletions
|
@ -23,13 +23,13 @@ class RDoc::Mixin < RDoc::CodeObject
|
|||
##
|
||||
# Mixins are sorted by name
|
||||
|
||||
def <=> other
|
||||
def <=>(other)
|
||||
return unless self.class === other
|
||||
|
||||
name <=> other.name
|
||||
end
|
||||
|
||||
def == other # :nodoc:
|
||||
def ==(other) # :nodoc:
|
||||
self.class === other and @name == other.name
|
||||
end
|
||||
|
||||
|
@ -107,7 +107,7 @@ class RDoc::Mixin < RDoc::CodeObject
|
|||
##
|
||||
# Sets the store for this class or module and its contained code objects.
|
||||
|
||||
def store= store
|
||||
def store=(store)
|
||||
super
|
||||
|
||||
@file = @store.add_file @file.full_name if @file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue