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

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

Dependencies

Annotate this POD

Website

View/Report Bugs

Source  

NAME ^

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

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 & LICENSE ^

Copyright 2008 Dave Rolsky, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.