lib/arrow/generic-takeable.rb in red-arrow-0.16.0 vs lib/arrow/generic-takeable.rb in red-arrow-0.17.0
- old
+ new
@@ -17,11 +17,11 @@
module Arrow
module GenericTakeable
class << self
def included(base)
- base.alias_method :take_raw, :take
- base.alias_method :take, :take_generic
+ base.__send__(:alias_method, :take_raw, :take)
+ base.__send__(:alias_method, :take, :take_generic)
end
end
def take_generic(indices)
case indices