Sha256: 5a9910b8d3546878b351b64ba367ef612e46f87c69dc6afe76d549f9051f47a5
Contents?: true
Size: 542 Bytes
Versions: 10
Compression:
Stored size: 542 Bytes
Contents
# typed: false # frozen_string_literal: true module Workato module Connector module Sdk # Match proc's arguments, even if it's a lambda. # @api private module BlockInvocationRefinements refine Proc do def call(*args, &block) super(*args.take(parameters.length), &block) end end refine BasicObject do def instance_exec(*args, &block) super(*args.take(block.parameters.length), &block) end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems