The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Fey::ORM::Mock::Recorder - Records the history of changes for a class

VERSION

version 0.05

DESCRIPTION

This object is used to store a record of the changes for each class.

METHODS

This class provides the following methods:

Fey::ORM::Mock::Recorder->new()

Returns a new recorder object.

$recorder->record_action(...)

This method takes a set of parameters which will be passed directly to Fey::ORM::Mock::Action->new_action(). Then it stores the action.

$recorder->actions_for_class($class)

Given a class name, this returns a list of stored actions for that class, from least to most recent.

$recorder->clear_class($class)

Clears the record of actions for the class

$recorder->clear_all()

Clears the records for all classes.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2010 by Dave Rolsky.

This is free software, licensed under:

  The Artistic License 2.0