Project

General

Profile

Bug #9483 ยป 0001-Fix-grammar-error-in-OpenURI-content_encoding-and-Ri.patch

rondale_sc (Jonathan Jackson), 02/05/2014 01:07 AM

View differences:

ext/ripper/lib/ripper/lexer.rb
class Ripper
# Tokenizes the Ruby program and returns an Array of String.
# Tokenizes the Ruby program and returns an Array of Strings.
#
# p Ripper.tokenize("def m(a) nil end")
# # => ["def", " ", "m", "(", "a", ")", " ", "nil", " ", "end"]
lib/open-uri.rb
end
# returns a list of encodings in Content-Encoding field
# as an Array of String.
# as an Array of Strings.
# The encodings are downcased for canonicalization.
def content_encoding
vs = @metas['content-encoding']
    (1-1/1)