diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-22 06:06:55 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-22 06:06:55 +0000 |
commit | b1073f89179e68b3da6ce45ca35c0af967cf2967 (patch) | |
tree | a3a06bc9b5ee07f72f5fa4a2bb1eb533adab96ea /lib | |
parent | b2a6346ccb9b6e32ea97ad8f8a2c494f09e46336 (diff) |
merge revision(s) 44878,44879: [Backport #9483]
* ext/ripper/lib/ripper/lexer.rb: [DOC] use lower case version of core
classes when referring to return value, since we aren't directly
talking about the class. Patch by Jonathan Jackson [Bug #9483]
* lib/open-uri.rb: [DOC] use lower case version of core classes, same
as commit r44878, based on patch by Jonathan Jackson [Bug #9483]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/open-uri.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/open-uri.rb b/lib/open-uri.rb index 86aa0f1887..26eb1a364e 100644 --- a/lib/open-uri.rb +++ b/lib/open-uri.rb @@ -534,8 +534,9 @@ module OpenURI end end - # returns a list of encodings in Content-Encoding field - # as an Array of String. + # Returns a list of encodings in Content-Encoding field as an array of + # strings. + # # The encodings are downcased for canonicalization. def content_encoding vs = @metas['content-encoding'] |