make_lambda is never called with an Array

This commit is contained in:
Aaron Patterson 2013-05-09 11:59:39 -07:00
parent 23122ab2d4
commit f5478d9263

@ -254,8 +254,6 @@ def invert_lambda(l)
# on the object.
def make_lambda(filter)
case filter
when Array
filter.map {|f| _compile_options(f)}
when Symbol
lambda { |target, value, &blk|
target.send filter, &blk