1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/matrix.rb: resolve 'ruby -w' warnings.

* lib/irb/locale.rb: resolve 'ruby -w' warnings.
* lib/irb/multi-irb.rb: resolve 'ruby -w' warnings.
* lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..."
  and resolve 'ruby -w' warnings.
* lib/irb/ruby-token.rb: fix typo
* lib/shell/command-processor.rb: resolve 'ruby -w' warnings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
keiju 2001-06-27 15:35:04 +00:00
parent cf37626401
commit cc13bb43bc
7 changed files with 27 additions and 13 deletions

View file

@ -219,7 +219,6 @@ class Matrix
row[j] = values[j]
row
}
self
rows(rows, false)
end
@ -897,7 +896,7 @@ class Vector
# ARITHMETIC
def *(x) "is matrix or number"
def *(x)
case x
when Numeric
els = @elements.collect{|e| e * x}