Sha256: 5001452937149b316ab47ecde746bebd915e57a4fbb4fd54270adca04f7e43a9
Contents?: true
Size: 500 Bytes
Versions: 15
Compression:
Stored size: 500 Bytes
Contents
# typed: false # frozen_string_literal: true module Workato module Connector module Sdk module Dsl module Call ruby2_keywords def call(method, *args) method_proc = @_methods[method] raise UndefinedMethodError, method unless method_proc raise UnexpectedMethodDefinitionError.new(method, method_proc) unless method_proc.is_a?(Proc) instance_exec(*args, &method_proc) end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems