]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/OOBase.pm
move Debbugs to lib
[debbugs.git] / Debbugs / OOBase.pm
diff --git a/Debbugs/OOBase.pm b/Debbugs/OOBase.pm
deleted file mode 100644 (file)
index 6600e02..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-# This module is part of debbugs, and
-# is released under the terms of the GPL version 2, or any later
-# version (at your option). See the file README and COPYING for more
-# information.
-# Copyright 2018 by Don Armstrong <don@donarmstrong.com>.
-
-package Debbugs::OOBase;
-
-=head1 NAME
-
-Debbugs::OOBase -- OO Base class for Debbugs
-
-=head1 SYNOPSIS
-
-
-=head1 DESCRIPTION
-
-
-
-=cut
-
-use Mouse;
-use strictures 2;
-use namespace::autoclean;
-
-has schema => (is => 'ro', isa => 'Object',
-              required => 0,
-              predicate => 'has_schema',
-             );
-
-sub schema_argument {
-    my $self = shift;
-    if ($self->has_schema) {
-        return (schema => $self->schema);
-    } else {
-       return ();
-    }
-}
-
-__PACKAGE__->meta->make_immutable;
-
-1;
-
-__END__
-# Local Variables:
-# indent-tabs-mode: nil
-# cperl-indent-level: 4
-# End: