/[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 407 by dpavlin, Tue Nov 18 12:02:57 2008 UTC revision 408 by dpavlin, Tue Nov 18 12:55:32 2008 UTC
# Line 103  sub joose { Line 103  sub joose {
103          return $out;          return $out;
104  }  }
105    
 =head2 methods  
   
   my @methods = $o->methods;  
   
 =cut  
   
 sub methods {  
         my $self = shift;  
   
         my ( $meta, $is_role ) = $self->class_meta;  
   
         my $attr;  
         $attr->{$_}++ foreach $meta->get_attribute_list;  
         my @methods = grep { ! defined($attr->{$_}) } $meta->get_method_list;  
         warn "# methods = ",dump( @methods ) if $self->debug;  
   
         return sort @methods;  
 }  
   
106  =head1 OUTPUT GENERATION  =head1 OUTPUT GENERATION
107    
108  =head2 markup  =head2 markup
# Line 181  sub markup { Line 162  sub markup {
162                          $name .= qq|<sup title="$role_name">$nr</sup>|;                          $name .= qq|<sup title="$role_name">$nr</sup>|;
163                  }                  }
164                  qq|<td class="m">$name</td>|                  qq|<td class="m">$name</td>|
165          } $self->methods;          } $self->class_methods( $class );
166    
167          my @attributes;          my @attributes;
168          if ( $meta->get_attribute_list ) {          if ( $meta->get_attribute_list ) {

Legend:
Removed from v.407  
changed lines
  Added in v.408

  ViewVC Help
Powered by ViewVC 1.1.26