Sha256: 99daffdcc4df6c679bd9f66b3cc7f39fd70d2640fec76af55c17a4a2485b749e

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

Stored size: 514 Bytes

Contents

# 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] A public method.
  # @param args   [Array]   A list of arguments.
  #
  # @return [Challenge] The challenge instance.
  def self.send(method, *args)
    Challenge.new(method, *args)
  end
end

require_relative File.join('defi', 'challenge')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
defi-1.1.3 lib/defi.rb
defi-1.1.2 lib/defi.rb
defi-1.1.1 lib/defi.rb
defi-1.1.0 lib/defi.rb
defi-1.0.0 lib/defi.rb