--- trunk/lib/Frey/ClassBrowser.pm 2008/11/19 01:21:31 434 +++ trunk/lib/Frey/ClassBrowser.pm 2008/11/19 15:28:23 455 @@ -15,7 +15,7 @@ documentation => 'Show usage on top of list', ); -sub markup { +sub as_markup { my $self = shift; my $row; @@ -37,15 +37,13 @@ my @run; my @input; push @run, qq|collection| if $class->can('collection_table'); - my $class_method = $self->class_methods( $class ); - foreach my $try ( Frey::Run->runnable ) { - next unless $class->can($try); - if ( $class_method->{ $try } ) { - push @run, qq|$try|; - } else { - push @input, $try; - } - } + my @class_methods = $self->class_methods( $class ); + + push @run, qq|$_| + foreach ( grep { m{^as_} } @class_methods ); + push @input, $_ + foreach ( grep { m{^(markup/as_data/as_sponge)$} } @class_methods ); + $usage->{$class} ||= 0; $html .= qq||