mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix ENV.except's docs
This commit is contained in:
parent
dead747874
commit
cdb5258bec
Notes:
git
2020-09-27 01:02:35 +09:00
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue