ruby-changes:63144
From: bogdanvlviv <ko1@a...>
Date: Sun, 27 Sep 2020 01:02:21 +0900 (JST)
Subject: [ruby-changes:63144] cdb5258bec (master): Fix `ENV.except`'s docs
https://git.ruby-lang.org/ruby.git/commit/?id=cdb5258bec From cdb5258bec94051097a234e9571414d00053aa1e Mon Sep 17 00:00:00 2001 From: bogdanvlviv <bogdanvlviv@g...> Date: Sat, 26 Sep 2020 14:25:46 +0300 Subject: Fix `ENV.except`'s docs diff --git a/hash.c b/hash.c index 2ccf8ec..15c839c 100644 --- a/hash.c +++ b/hash.c @@ -6332,8 +6332,8 @@ env_to_h(VALUE _) https://github.com/ruby/ruby/blob/trunk/hash.c#L6332 * * 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 _) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/