Sha256: 97b3f572dd682dc1ac75f3d072be6d98733003ffac3114d17fa8e489462e6d61
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
# frozen_string_literal: true # Namespace for the Defi library. # module Defi # Expectations are built with this method. # # @example The challenge # send(:foo) # => #<Defi::Challenge:0x007f96a40925f8 @method=:foo, @args=[]> # # @param method [#to_sym] The method to send to an object. # @param args [Array] Any arguments of the method. # @param opts [Hash] Any keyword arguments of the method. # @param block [Proc] Any block argument of the method. # # @return [Challenge] The challenge instance. def self.send(method, *args, **opts, &block) Challenge.new(method, *args, **opts, &block) end end require_relative File.join("defi", "challenge")
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
defi-2.0.5 | lib/defi.rb |