[Jifty-commit] r3227 - in jifty/trunk: lib/Jifty/Plugin/REST
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri May 11 12:51:13 EDT 2007
Author: falcone
Date: Fri May 11 12:51:12 2007
New Revision: 3227
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
Log:
r18558 at ketch: falcone | 2007-05-11 12:48:56 -0400
* add docs to pass the pod-coverage tests
Modified: jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm Fri May 11 12:51:12 2007
@@ -102,6 +102,12 @@
return wantarray ? @r : pop @r;
}
+=head2 reference_to_data
+
+provides a saner output format for models than MyApp::Model::Foo=HASH(0x1800568)
+
+=cut
+
sub reference_to_data {
my $obj = shift;
my ($model) = map { s/::/./g; $_ } ref($obj);
More information about the Jifty-commit
mailing list