mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Finish documenting internal stuff. See Changelog for other details
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
76aec3b529
commit
62cbbfb24b
18 changed files with 1438 additions and 266 deletions
|
@ -100,6 +100,12 @@ module RI
|
|||
"Module"
|
||||
end
|
||||
|
||||
# the 'ClassDescription' subclass overrides this
|
||||
# to format up the name of a parent
|
||||
def superclass_string
|
||||
nil
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def merge(into, from)
|
||||
|
@ -116,6 +122,14 @@ module RI
|
|||
def display_name
|
||||
"Class"
|
||||
end
|
||||
|
||||
def superclass_string
|
||||
if @superclass && @superclass != "Object"
|
||||
@superclass
|
||||
else
|
||||
nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue