src: Create a "src" object

Description

src is the standard constructor for srcs and is.src tests.

Usage

1
2
3
src(subclass, ...)

is.src(x)

Arguments

subclass

name of subclass. "src" is an abstract base class, so you must supply this value. src_ is automatically prepended to the class name

...

fields used by object

x

object to test for "src"-ness.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.