blib/lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_07.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_06.pm ↑ Summary blib/lib/DBIx/Class/Schema/Loader/Table.pm »
1 package DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07;
2  
3 45 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 45 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 45 ▶use base 'DBIx::Class::Schema::Loader::RelBuilder';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 45 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 DBIx::Class::Schema::Loader::RelBuilder::Compat::v0_07 - RelBuilder for
11 compatibility with DBIx::Class::Schema::Loader version 0.07000
12  
13 =head1 DESCRIPTION
14  
15 See L<DBIx::Class::Schema::Loader::Base/naming> and
16 L<DBIx::Class::Schema::Loader::RelBuilder>.
17  
18 =cut
19  
20 45 our $VERSION = '0.07053';
21  
22 723 ▶sub _strip_id_postfix {
Subroutine _strip_id_postfix: called CC=1 SCAR=0.0
23 723 my ($self, $name) = @_;
24  
25 723 $name =~ s/_id\z//;
26  
27 723 return $name;
28 }
29  
30 =head1 AUTHORS
31  
32 See L<DBIx::Class::Schema::Loader/AUTHORS>.
33  
34 =head1 LICENSE
35  
36 This library is free software; you can redistribute it and/or modify it under
37 the same terms as Perl itself.
38  
39 =cut
40  
41 45 1;
42 # vim:et sts=4 sw=4 tw=0:
« blib/lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_06.pm ↑ Summary blib/lib/DBIx/Class/Schema/Loader/Table.pm »