Project

General

Profile

Bug #13192

[DOC] Add example for Symbol#to_s

Added by stomar (Marcus Stollsteimer) over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57164) [i686-linux]
[ruby-core:79430]

Description

The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.


Files

doc_symbol_to_s.patch (671 Bytes) doc_symbol_to_s.patch stomar (Marcus Stollsteimer), 02/04/2017 12:27 PM

Associated revisions

Revision 57536
Added by normalperson (Eric Wong) over 2 years ago

doc: Add example for Symbol#to_s

  • string.c: add example for Symbol#to_s.

The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.

From: Marcus Stollsteimer sto.mar@web.de

Revision cc938265
Added by usa (Usaku NAKAMURA) over 2 years ago

merge revision(s) 57536: [Backport #13192]

    doc: Add example for Symbol#to_s

    * string.c: add example for Symbol#to_s.

    The docs for Symbol#to_s only include an example for
    Symbol#id2name, but not for #to_s which is an alias;
    the docs should include examples for both methods.

    From: Marcus Stollsteimer <sto.mar@web.de>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@58118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 58118
Added by usa (Usaku NAKAMURA) over 2 years ago

merge revision(s) 57536: [Backport #13192]

doc: Add example for Symbol#to_s

* string.c: add example for Symbol#to_s.

The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.

From: Marcus Stollsteimer <sto.mar@web.de>

Revision fb5f4573
Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago

merge revision(s) 57536: [Backport #13192]

    doc: Add example for Symbol#to_s

    * string.c: add example for Symbol#to_s.

    The docs for Symbol#to_s only include an example for
    Symbol#id2name, but not for #to_s which is an alias;
    the docs should include examples for both methods.

    From: Marcus Stollsteimer <sto.mar@web.de>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@61362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 61362
Added by nagachika (Tomoyuki Chikanaga) almost 2 years ago

merge revision(s) 57536: [Backport #13192]

doc: Add example for Symbol#to_s

* string.c: add example for Symbol#to_s.

The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.

From: Marcus Stollsteimer <sto.mar@web.de>

Revision 305b200d
Added by usa (Usaku NAKAMURA) over 1 year ago

merge revision(s) 57536: [Backport #13192]

    doc: Add example for Symbol#to_s

    * string.c: add example for Symbol#to_s.

    The docs for Symbol#to_s only include an example for
    Symbol#id2name, but not for #to_s which is an alias;
    the docs should include examples for both methods.

    From: Marcus Stollsteimer <sto.mar@web.de>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@62125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 62125
Added by usa (Usaku NAKAMURA) over 1 year ago

merge revision(s) 57536: [Backport #13192]

doc: Add example for Symbol#to_s

* string.c: add example for Symbol#to_s.

The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.

From: Marcus Stollsteimer <sto.mar@web.de>

History

#1

Updated by stomar (Marcus Stollsteimer) over 2 years ago

  • File deleted (doc_symbol_to_s.patch)

Updated by normalperson (Eric Wong) over 2 years ago

  • Status changed from Open to Closed

Applied in r57536 (oops, forgot bug number in commit :x)

#4

Updated by usa (Usaku NAKAMURA) over 2 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED

Updated by usa (Usaku NAKAMURA) over 2 years ago

  • Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONE, 2.3: REQUIRED, 2.4: REQUIRED

ruby_2_2 r58118 merged revision(s) 57536.

Updated by nagachika (Tomoyuki Chikanaga) almost 2 years ago

  • Backport changed from 2.2: DONE, 2.3: REQUIRED, 2.4: REQUIRED to 2.2: DONE, 2.3: REQUIRED, 2.4: DONE

ruby_2_4 r61362 merged revision(s) 57536.

Updated by usa (Usaku NAKAMURA) over 1 year ago

  • Backport changed from 2.2: DONE, 2.3: REQUIRED, 2.4: DONE to 2.2: DONE, 2.3: DONE, 2.4: DONE

ruby_2_3 r62125 merged revision(s) 57536.

Also available in: Atom PDF