mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
grep_v is ruby 2.3 feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b3b88d283
commit
0533d9a25e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ rb_insn_unified_local_var_level(VALUE insn)
|
|||
% RubyVM::OperandsUnifications.each_group do |orig, unifs|
|
||||
% unifs.each do|insn|
|
||||
case <%= insn.bin %>:
|
||||
% insn.spec.map{|(var,val)|val}.grep_v('*').each do |val|
|
||||
% insn.spec.map{|(var,val)|val}.reject{|i| i == '*' }.each do |val|
|
||||
return <%= val %>;
|
||||
% break
|
||||
% end
|
||||
|
|
Loading…
Add table
Reference in a new issue