module DuckPond

Clause

This class is intended to be inherited from.

MethodClause

Satisfied if the subject responds to the method represented by this clause.

Available Options:

:method_name => The name of the method to check for / call :given_args => Arguments to pass into the method :responds_with => What you would expect the method to respond with

DuckPond::Contract

Contracts are essentially lists of properties that a class could have. They are not intended to ever be instantiated, and are completely configured at the class level.

Contract::ConvinienceMethods

A set of methods used to make adding clauses easier for the user.

DuckPond::Inspection

The duckpond inspection class is essentially just a wrapper for an inspected object (the subject).

DuckPond::Lawyer

The lawyer class is responsible for maintaining the sate of satisfaction between a subject and its contract. Typically these are used in clauses.

Constants

VERSION