summaryrefslogtreecommitdiff
path: root/lib/CIL/Command.pm
diff options
context:
space:
mode:
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';