Sha256: b9f8c43de0d18d61c6930b6e752f869d519a5ff16b6e87d496450a466ce01582
Contents?: true
Size: 430 Bytes
Versions: 6
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true require_relative './multi_sender' # Invoca ::Array extensions # TODO: Once the hobo_support gem is no longer used by any of our code, use prepend instead of alias class Array alias_method :original_multiply_operator, :* # rubocop:disable Style/Alias def *(rhs = nil) if rhs original_multiply_operator(rhs) else Invoca::Utils::MultiSender.new(self, :map) end end end
Version data entries
6 entries across 6 versions & 1 rubygems