/[Frey]/branches/no-pager/lib/Frey/ClassCreator.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 /branches/no-pager/lib/Frey/ClassCreator.pm

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

revision 737 by dpavlin, Wed Dec 3 21:12:43 2008 UTC revision 738 by dpavlin, Sat Dec 6 15:29:10 2008 UTC
# Line 21  has svk_add => ( Line 21  has svk_add => (
21          is => 'rw',          is => 'rw',
22          isa => 'Bool',          isa => 'Bool',
23          required => 1,          required => 1,
24          default => 0,          default => 1,
25  );  );
26    
27  sub create_class_source_as_markup {  sub create_class_source_as_markup {
# Line 31  sub create_class_source_as_markup { Line 31  sub create_class_source_as_markup {
31    
32          my $class_path  = $class;          my $class_path  = $class;
33          $class_path =~ s{::}{/}g;          $class_path =~ s{::}{/}g;
34          $class_path = "lib/$class.pm";          $class_path = "lib/$class_path.pm";
35    
36          my $test_path = $class;          my $test_path = $class;
37          $test_path =~ s{::}{-};          $test_path =~ s{::}{-}g;
38          $test_path = "t/30-$test_path.t";          $test_path = "t/30-$test_path.t";
39    
40          die qq|class "$class" exists as |, $self->path_size($class_path) if -e $class_path;          die qq|class "$class" exists as |, $self->path_size($class_path) if -e $class_path;
# Line 65  sub create_class_source_as_markup { Line 65  sub create_class_source_as_markup {
65                  . $self->path_size($test_path)                  . $self->path_size($test_path)
66                  ;                  ;
67    
68          $html = $self->editor_links( $html );          $html = $self->html_links( $html );
69    
70          return $html;          return $html;
71  }  }

Legend:
Removed from v.737  
changed lines
  Added in v.738

  ViewVC Help
Powered by ViewVC 1.1.26