[#79532] Immutable Strings vs Symbols — Daniel Ferreira <subtileos@...>

Hi,

15 messages 2017/02/15

[ruby-core:79430] [Ruby trunk Bug#13192] [DOC] Add example for Symbol#to_s

From: sto.mar@...
Date: 2017-02-04 12:25:49 UTC
List: ruby-core #79430
Issue #13192 has been reported by Marcus Stollsteimer.

----------------------------------------
Bug #13192: [DOC] Add example for Symbol#to_s
https://bugs.ruby-lang.org/issues/13192

* Author: Marcus Stollsteimer
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [i686-linux]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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 (679 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next