aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-10-24 08:04:45 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-10-24 08:04:45 +0900
commitf26f0f41096c026e4874bf1af8d500a7aaa69e59 (patch)
treec2a3be6049d67e0248d57bee0a0de54e6e7754c8 /hash.c
parentdf91896f32fdf78c26fc38466927c0bd87444185 (diff)
downloadruby-f26f0f41096c026e4874bf1af8d500a7aaa69e59.tar.gz
hash.c: Do not use Unicode double-quotes
It made rdoc fail. https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1804/ruby-master/log/20191023T183005Z.fail.html.gz ``` RDoc is not a full Ruby parser and will fail when fed invalid ruby programs. The internal error was: (ArgumentError) invalid byte sequence in US-ASCII uh-oh! RDoc had a problem: invalid byte sequence in US-ASCII ```
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index a77766058f..da4738b04c 100644
--- a/hash.c
+++ b/hash.c
@@ -4804,7 +4804,7 @@ rb_f_getenv(VALUE obj, VALUE name)
* ENV.delete('foo')
* ENV.fetch('foo', :default_need_not_be_a_string) # => :default_need_not_be_a_string
* If the environment variable does not exist and both default and block are given,
- * issues a warning (“warning: block supersedes default value argument”),
+ * issues a warning ("warning: block supersedes default value argument"),
* yields +name+ to the block, and returns the block's return value:
* ENV.fetch('foo', :default) { |name| :block_return } # => :block_return
* Raises TypeError if +name+ is not a String and cannot be coerced with \#to_str: