Sha256: 92303f42c38f5916cdab8eadf56437701f7b3608ead711395065ffc1a5c9de08
Contents?: true
Size: 728 Bytes
Versions: 3
Compression:
Stored size: 728 Bytes
Contents
# frozen_string_literal: true # Namespace for the Defi library. # # @api public # module Defi # Expectations are built with this method. # # @api public # # @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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
defi-2.0.2 | lib/defi.rb |
defi-2.0.1 | lib/defi.rb |
defi-2.0.0 | lib/defi.rb |