From a6ec2584527fb4d6f3a65a2dd16dc02eabdfcec6 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 6 Nov 2012 00:50:02 +0000 Subject: * 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 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index df737c447e..e84728065c 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3