--- trunk/lib/Frey/Introspect.pm 2008/10/31 17:27:39 211
+++ trunk/lib/Frey/Introspect.pm 2008/10/31 19:59:16 215
@@ -129,13 +129,13 @@
=head1 OUTPUT GENERATION
-=head2 html
+=head2 request
- $o->html( $request );
+ $o->request( $request );
=cut
-sub html {
+sub request {
my ( $self, $request ) = @_;
$self->add_head( 'static/introspect.css' );
@@ -147,7 +147,7 @@
my $package = $self->package;
my @methods;
- @methods = map { qq|
$_ | | } $self->methods;
+ @methods = map { qq|$_ | | } $self->methods;
my @attributes;
if ( $meta->get_attribute_list ) {
@@ -173,11 +173,11 @@
}
$after .= ' ';
}
- qq|$before$_ | $after | |
+ qq|$before $_ | $after | |
} sort $meta->get_attribute_list
}
- my $table = qq|Methods | Attributes | Properties |
|;
+ my $table = qq|Methods | Attributes | Properties |
|;
while ( @methods || @attributes ) {
my ($m,$a) = ( shift @methods, shift @attributes );
$m ||= ' | ';
@@ -206,7 +206,7 @@
grep { ! m/\Q$package\E/ } # skip me
map {
my $name = $_->name;
- qq||;
+ qq|$name| . $name->meta->dump(2) . qq|
|;
}
$meta->calculate_all_roles
);