mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
get rid of test failures on CI introduced at r56927
* lib/matrix.rb: now ruby warns ambiguous parentheses after a space in method definitions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
18658d7d2c
commit
40c9f1f328
1 changed files with 3 additions and 3 deletions
|
@ -1118,7 +1118,7 @@ class Matrix
|
|||
# => 67 96
|
||||
# 48 99
|
||||
#
|
||||
def ** (other)
|
||||
def **(other)
|
||||
case other
|
||||
when Integer
|
||||
x = self
|
||||
|
@ -1644,7 +1644,7 @@ class Matrix
|
|||
end
|
||||
end
|
||||
|
||||
def / (other)
|
||||
def /(other)
|
||||
case other
|
||||
when Numeric
|
||||
Scalar.new(@value / other)
|
||||
|
@ -1657,7 +1657,7 @@ class Matrix
|
|||
end
|
||||
end
|
||||
|
||||
def ** (other)
|
||||
def **(other)
|
||||
case other
|
||||
when Numeric
|
||||
Scalar.new(@value ** other)
|
||||
|
|
Loading…
Add table
Reference in a new issue