Sha256: abf5a176e5b54a380768b727f8f1f2fe7414e6f8f34300bf7550cd49baed2386

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

require_relative File.join("fix", "set")

require_relative "kernel"

# Namespace for the Fix framework.
#
# @api public
module Fix
  # Test a built specification.
  #
  # @example Run _Answer_ specification against `42`.
  #   Fix[:Answer].test { 42 }
  #
  # @param name [String, Symbol] The constant name of the specifications.
  #
  # @return [::Fix::Test] The specification document.
  def self.[](name)
    ::Fix::Set.load(name)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fix-1.0.0.beta9 lib/fix.rb