mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rdoc: Update to RDoc 3.7 (final)
* NEWS: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
41ab31e67a
commit
84ece95163
10 changed files with 201 additions and 111 deletions
|
@ -60,7 +60,14 @@ class RDoc::Markup
|
|||
|
||||
class AttrChanger
|
||||
def to_s # :nodoc:
|
||||
"Attr: +#{Attribute.as_string turn_on}/-#{Attribute.as_string turn_on}"
|
||||
"Attr: +#{Attribute.as_string turn_on}/-#{Attribute.as_string turn_off}"
|
||||
end
|
||||
|
||||
def inspect # :nodoc:
|
||||
"+%s/-%s" % [
|
||||
Attribute.as_string(turn_on),
|
||||
Attribute.as_string(turn_off),
|
||||
]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue