aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@ruby-lang.org>2016-11-29 10:47:43 +0000
committerKazuki Yamaguchi <k@rhe.jp>2016-11-30 20:28:22 +0900
commitd440a0156abddda77c7a9d3649e9491af49e879a (patch)
treee0d15ca7ff04c09407eeef788816d2206a33b172 /lib
parentd91f2451382683c425c52fd00581c7ffbe4f8046 (diff)
downloadruby-openssl-d440a0156abddda77c7a9d3649e9491af49e879a.tar.gz
parse.y: ambiguous parentheses
* parse.y (parser_yylex): warn ambiguous parentheses after a space in method definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/openssl/buffering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/openssl/buffering.rb b/lib/openssl/buffering.rb
index 0db231f9..7fd647ca 100644
--- a/lib/openssl/buffering.rb
+++ b/lib/openssl/buffering.rb
@@ -389,7 +389,7 @@ module OpenSSL::Buffering
# Writes +s+ to the stream. +s+ will be converted to a String using
# String#to_s.
- def << (s)
+ def <<(s)
do_write(s)
self
end