Class: GDK::Command::Cleanup

Inherits:
BaseCommand show all
Defined in:
lib/gdk/command/cleanup.rb

Instance Attribute Summary

Attributes inherited from BaseCommand

#stderr, #stdout

Instance Method Summary collapse

Methods inherited from BaseCommand

#config, #display_help_message, #help, #initialize, #print_help, #print_ready_message, #ready_messages, validate_config?

Constructor Details

This class inherits a constructor from GDK::Command::BaseCommand

Instance Method Details

#run(_ = []) ⇒ Object



8
9
10
11
12
# File 'lib/gdk/command/cleanup.rb', line 8

def run(_ = [])
  return true unless continue?

  execute
end