--- branches/mojo/lib/Frey/Introspect.pm 2008/11/04 19:11:06 254
+++ branches/mojo/lib/Frey/Introspect.pm 2008/11/04 19:38:49 256
@@ -172,11 +172,12 @@
}
$after .= ' ';
}
- qq|
$before $_ | $after | |
+ my $type = $attr->has_type_constraint ? $attr->type_constraint->name : '';
+ qq|$before $_ | $type | $after | |
} sort $meta->get_attribute_list
}
- my $table = qq|Methods | Attributes | Properties |
|;
+ my $table = qq|Methods | Attributes | Type | Properties |
|;
while ( @methods || @attributes ) {
my ($m,$a) = ( shift @methods, shift @attributes );
$m ||= ' | ';