Project

General

Profile

« Previous | Next » 

Revision d6adc68d

Added by nagachika (Tomoyuki Chikanaga) over 4 years ago

lib/shell/command-processor.rb (Shell#[]): prevent unknown command

FileTest.send(command, ...) allows to call not only FileTest-related
methods but also any method that belongs to Kernel, Object, etc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e