/[Frey]/trunk/lib/Frey/Introspect.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/Introspect.pm

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

revision 121 by dpavlin, Mon Jul 14 21:22:43 2008 UTC revision 128 by dpavlin, Mon Jul 14 23:39:56 2008 UTC
# Line 174  sub html { Line 174  sub html {
174    
175                  warn "## css = ",dump( $self->css );                  warn "## css = ",dump( $self->css );
176    
177                    my $superclasses = 'Role';
178                    $superclasses = 'Superclasses: ' . join(', ',
179                            map {
180                                    my $s = $_->meta->name;
181                                    qq|<a href="/~/$s">$s</a>|
182                            }
183                            #grep { $_ ne 'Moose::Object' }
184                            $meta->superclasses
185                    ) if ! $is_role && $meta->superclasses;
186    
187                    my $pod = Frey::Pod->new( class => $package )->markup;
188    
189                  my $html = $self->page(                  my $html = $self->page(
190                          title => "Introspect $package",                          title => "Introspect $package",
191                          body => "<h1>$package</h1>\n$table\n$classes",                          body => qq|<h1>$package</h1>|
192                                    . ( $pod ? qq|<a href="#___top" title="Skip to POD" style="font-size: 80%; color: #aaa;">&darr;pod&darr</a>  | : '' )
193                                    . qq|$superclasses\n$table\n$pod\n$classes|,
194    
195                  );                  );
196    
197                  $request->print($html);                  $request->print($html);

Legend:
Removed from v.121  
changed lines
  Added in v.128

  ViewVC Help
Powered by ViewVC 1.1.26