diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-10-01 10:59:35 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-10-01 10:59:35 +0000 |
commit | d6adc68dc9c74a33b3ca012af171e2d59f0dea10 (patch) | |
tree | 02733c38f0e7b130bfa050f769d6309a6562979a /man | |
parent | 8d5d5d5609e94b4ab75512c8d036d049fd1af6c2 (diff) |
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
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions