From cdb5258bec94051097a234e9571414d00053aa1e Mon Sep 17 00:00:00 2001 From: bogdanvlviv Date: Sat, 26 Sep 2020 14:25:46 +0300 Subject: [PATCH] Fix `ENV.except`'s docs --- hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hash.c b/hash.c index 2ccf8ec014..15c839c968 100644 --- a/hash.c +++ b/hash.c @@ -6332,8 +6332,8 @@ env_to_h(VALUE _) * * Returns a hash except the given keys from ENV and their values. * - * ENV #=> {"LANG"="en_US.UTF-8", "TERM"=>"xterm-256color", "HOME"=>"/Users/rhc"} - * ENV.except("TERM","HOME") #=> {"LANG"="en_US.UTF-8"} + * ENV #=> {"LANG"=>"en_US.UTF-8", "TERM"=>"xterm-256color", "HOME"=>"/Users/rhc"} + * ENV.except("TERM","HOME") #=> {"LANG"=>"en_US.UTF-8"} */ static VALUE env_except(int argc, VALUE *argv, VALUE _)