lib/clamp/command.rb in clamp-0.4.0 vs lib/clamp/command.rb in clamp-0.5.0
- old
+ new
@@ -69,14 +69,10 @@
# Execute the command (assuming that all options/parameters have been set).
#
# This method is designed to be overridden in sub-classes.
#
def execute
- if @subcommand
- @subcommand.execute
- else
- raise "you need to define #execute"
- end
+ raise "you need to define #execute"
end
# @return [String] usage documentation for this command
#
def help