Module: Fix

Defined in:
lib/fix.rb,
lib/fix/doc.rb,
lib/fix/dsl.rb,
lib/fix/run.rb,
lib/fix/set.rb,
lib/fix/matcher.rb,
lib/fix/requirement.rb

Overview

Namespace for the Fix framework.

Defined Under Namespace

Modules: Doc, Matcher, Requirement Classes: Dsl, Run, Set

Class Method Summary collapse

Class Method Details

.[](name) ⇒ ::Fix::Test

Test a built specification.

Examples:

Run Answer specification against `42`.

Fix[:Answer].test(42)

Parameters:

  • name (String, Symbol)

    The name of the specification document.

Returns:

  • (::Fix::Test)

    The specification document.


19
20
21
# File 'lib/fix.rb', line 19

def self.[](name)
  ::Fix::Set.load(name)
end