summaryrefslogtreecommitdiff
path: root/lib/CIL/Command.pm
diff options
context:
space:
mode:
authorFrancois Marier <francois@debian.org>2010-08-05 20:52:17 -0400
committerFrancois Marier <francois@debian.org>2010-08-05 20:52:17 -0400
commit79cef0ebbb86de5ccac38255434d0d2bb18fb3c1 (patch)
treec52a30aed1698086e887ea80b989168416e18f17 /lib/CIL/Command.pm
parent2b73a8c304bf705eaa3b83526698e4278accdf46 (diff)
parent9fcb3bc29dfd429f521c4e40452197dc364310c3 (diff)
Merge commit 'upstream/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';