diff options
author | bogdanvlviv <[email protected]> | 2020-09-26 14:25:46 +0300 |
---|---|---|
committer | Marc-André Lafortune <[email protected]> | 2020-09-26 12:02:00 -0400 |
commit | cdb5258bec94051097a234e9571414d00053aa1e (patch) | |
tree | 47441c31e90c479c2cd8a7ac7b381a90280531f2 /hash.c | |
parent | dead7478748a828c45e16134fca812bc7771344e (diff) |
Fix `ENV.except`'s docs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3595
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 _) |