Dave Rolsky > Fey-ORM-Mock-0.05 > Fey::ORM::Mock::Seeder

Download:
Fey-ORM-Mock-0.05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.05   Source   Latest Release: Fey-ORM-Mock-0.06

NAME ^

Fey::ORM::Mock::Seeder - Stores seeded data for future object construction

VERSION ^

version 0.05

DESCRIPTION ^

This object is used to store seeded data for constructors. You will probably not need to use this class directly, instead just use Fey::ORM::Mock->seed_class().

METHODS ^

This class provides the following methods:

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

Returns a new seeder object.

$seeder->push_values( $class => \%row, \%row, ... )

This seeds the constructor parameters for the given class.

$recorder->next($class)

Returns the next set of values for given class, if any exist.

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
syntax highlighting: