Fix ENV.except
's docs
This commit is contained in:
parent
dead747874
commit
cdb5258bec
Notes:
git
2020-09-27 01:02:35 +09:00
4
hash.c
4
hash.c
@ -6332,8 +6332,8 @@ env_to_h(VALUE _)
|
|||||||
*
|
*
|
||||||
* Returns a hash except the given keys from ENV and their values.
|
* 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 #=> {"LANG"=>"en_US.UTF-8", "TERM"=>"xterm-256color", "HOME"=>"/Users/rhc"}
|
||||||
* ENV.except("TERM","HOME") #=> {"LANG"="en_US.UTF-8"}
|
* ENV.except("TERM","HOME") #=> {"LANG"=>"en_US.UTF-8"}
|
||||||
*/
|
*/
|
||||||
static VALUE
|
static VALUE
|
||||||
env_except(int argc, VALUE *argv, VALUE _)
|
env_except(int argc, VALUE *argv, VALUE _)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user