diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 00:50:02 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-06 00:50:02 +0000 |
commit | a6ec2584527fb4d6f3a65a2dd16dc02eabdfcec6 (patch) | |
tree | dc7946982b288377e7decba6107feed262613bbc /NEWS | |
parent | 58ef0f06c6f6fcc4f6a0d31ade430d87ef9d968d (diff) | |
download | ruby-a6ec2584527fb4d6f3a65a2dd16dc02eabdfcec6.tar.gz |
* string.c (rb_str_b): Add String#b, returning a copied string
whose encoding is ASCII-8BIT. [ruby-dev:45992] [Feature #6767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -93,6 +93,10 @@ with all sufficient information, see the ChangeLog file. * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM are specified. + *String + * added method: + * added String#b returning a copied string whose encoding is ASCII-8BIT. + * Struct * added method: * added Struct#to_h returning values with keys corresponding to the |