From 33399fe8248a25132343b1b5be3a35357c3d9099 Mon Sep 17 00:00:00 2001 From: marcandre Date: Mon, 16 Apr 2012 03:15:56 +0000 Subject: * object.c: Add NilClass#to_h [Feature #6276] [ref #5008] [rubyspec:dc5ecddbd608] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 61b56b3ad1..87c9dcf743 100644 --- a/NEWS +++ b/NEWS @@ -43,6 +43,10 @@ with all sufficient information, see the ChangeLog file. * added LoadError#path method to return the file name that could not be loaded. + * NilClass + * added method: + * added nil.to_h which returns {} + * Signal * incompatible changes: * Signal.trap raises ArgumentError when :SEGV, :BUS, :ILL, :FPE, :VTALRM -- cgit v1.2.3