summaryrefslogtreecommitdiff
path: root/lib/CIL/Command.pm
diff options
context:
space:
mode:
authorFrancois Marier <francois@debian.org>2010-08-05 20:52:16 -0400
committerFrancois Marier <francois@debian.org>2010-08-05 20:52:16 -0400
commit9fcb3bc29dfd429f521c4e40452197dc364310c3 (patch)
treed343c4aeb67a1cc4b00dfebf873937aa9cccf12a /lib/CIL/Command.pm
parent1515145646c5aa80eb4c298607ea33da731ab586 (diff)
Imported Upstream version 0.07.00upstream/0.07.00
Diffstat (limited to 'lib/CIL/Command.pm')
-rw-r--r--lib/CIL/Command.pm17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/CIL/Command.pm b/lib/CIL/Command.pm
new file mode 100644
index 0000000..194047b
--- /dev/null
+++ b/lib/CIL/Command.pm
@@ -0,0 +1,17 @@
+package CIL::Command;
+
+use strict;
+use warnings;
+
+sub name {
+ my $self = shift;
+
+ my $name = lc( ref $self || $self );
+
+ $name =~ s/^CIL::Command:://i;
+
+ return $name;
+}
+
+
+'end of package CIL::Command';