Coat::Object - The mother class for each class that uses Coat


Coat documentation  | view source Contained in the Coat distribution.

Index


NAME

Top

Coat::Object - The mother class for each class that uses Coat

DESCRIPTION

Top

When a class is described with Coat, each instance of that class will inherit from Coat::Object.

This is the mother-class for each Coat-created objects, it provides a basic default constructor and access to the meta-class.

METHODS

Top

new

This is the default constructor, it creates a new object for your class and calls init with the arguments given.

init

This method initialize the instance: basically, setting default values to attributes and setting values received (passed to the "new" method).

meta

Returns the meta-calss description: attributes declared with properties.

SEE ALSO

Top

See Coat, the meta-class for Coat::Object's.

See also Moose, the mother of Coat.

AUTHORS

Top

This module was written by Alexis Sukrieh <sukria+perl@sukria.net>

Strong and helpful reviews were made by Stevan Little and Matt (mst) Trout ; this module wouldn't be there without their help. Huge thank to them.

COPYRIGHT AND LICENSE

Top


Coat documentation  | view source Contained in the Coat distribution.