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

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

revision 462 by dpavlin, Wed Nov 19 18:06:48 2008 UTC revision 559 by dpavlin, Thu Nov 27 21:01:39 2008 UTC
# Line 34  sub classes { Line 34  sub classes {
34                  $class =~ s{^lib/}{};                  $class =~ s{^lib/}{};
35                  $class =~ s{\.pm$}{};                  $class =~ s{\.pm$}{};
36                  $class =~ s{/}{::}g;                  $class =~ s{/}{::}g;
37                    if ( $class =~ m{Mojo} ) {
38                            warn "# skip Mojo class $class";
39                            return;
40                    }
41                  $class_path->{ $class } = $_;                  $class_path->{ $class } = $_;
42          } }, 'lib');          } }, 'lib');
43          warn "## class_path = ",dump( $class_path ) if $self->debug;          warn "## class_path = ",dump( $class_path ) if $self->debug;
# Line 216  sub new_frey_class { Line 220  sub new_frey_class {
220                  Frey::Role::as_sponge->meta->apply( $instance );                  Frey::Role::as_sponge->meta->apply( $instance );
221                  warn "# apply as_sponge role to $class";                  warn "# apply as_sponge role to $class";
222          }          }
223    
224            $self->add_status({ $class => $params }) if $self->can('add_status');
225          return $instance;          return $instance;
226  }  }
227    

Legend:
Removed from v.462  
changed lines
  Added in v.559

  ViewVC Help
Powered by ViewVC 1.1.26