[Bps-public-commit] r14683 - in Prophet/trunk: .
spang at bestpractical.com
spang at bestpractical.com
Thu Jul 31 07:46:38 EDT 2008
Author: spang
Date: Thu Jul 31 07:46:37 2008
New Revision: 14683
Modified:
Prophet/trunk/ (props changed)
Prophet/trunk/lib/Prophet/Record.pm
Log:
r47458 at loki: spang | 2008-07-31 12:08:07 +0100
add pod for default_props and fix typo
Modified: Prophet/trunk/lib/Prophet/Record.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Record.pm (original)
+++ Prophet/trunk/lib/Prophet/Record.pm Thu Jul 31 07:46:37 2008
@@ -357,6 +357,13 @@
return 1;
}
+=head2 default_props $props_ref
+
+Takes a reference to a hash of props and looks up the defaults for those
+props, if they exist. Sets the values of the props in the hash to the defaults.
+
+=cut
+
sub default_props {
my $self = shift;
my $props = shift;
@@ -376,7 +383,7 @@
=head2 format_summary
-returns a formated string that is the summary for the record.
+returns a formatted string that is the summary for the record.
=cut
More information about the Bps-public-commit
mailing list