/[Frey]/trunk/lib/Frey/ClassBrowser.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/ClassBrowser.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 222 by dpavlin, Fri Oct 31 22:48:45 2008 UTC revision 223 by dpavlin, Sat Nov 1 00:14:05 2008 UTC
# Line 4  use Moose; Line 4  use Moose;
4  extends 'Frey';  extends 'Frey';
5    
6  use Frey::ClassLoader;  use Frey::ClassLoader;
7    use Frey::Run;
8    
9  our $markup;  our $markup;
10    
# Line 22  sub markup { Line 23  sub markup {
23                  }                  }
24                  my @inspect;                  my @inspect;
25                  push @inspect, qq|<a href="/ob/$package">collection</a>| if $package->can('collection_table');                  push @inspect, qq|<a href="/ob/$package">collection</a>| if $package->can('collection_table');
26                  push @inspect, qq|<a href="/markup/$package">markup</a>| if $package->can('markup');                  foreach my $try ( Frey::Run->execute ) {
27                  push @inspect, qq|<a href="/request/$package">request</a>| if $package->can('request');                          push @inspect, qq|<a href="/$try/$package">$try</a>| if $package->can($try);
28                    }
29                  $html .= qq|</td><td>| . join('&nbsp;', @inspect) . qq|</td></tr>|;                  $html .= qq|</td><td>| . join('&nbsp;', @inspect) . qq|</td></tr>|;
30          }          }
31          $html = "<table>$html</table>" if $html;          $html = "<table>$html</table>" if $html;

Legend:
Removed from v.222  
changed lines
  Added in v.223

  ViewVC Help
Powered by ViewVC 1.1.26