Class: Smug::Command

Inherits:
Object
  • Object
show all
Includes:
Utils
Defined in:
lib/smugsync/command.rb

Overview

Base class for all commands

Instance Method Summary collapse

Methods included from Utils

#method_missing, #status_message

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Smug::Utils

Instance Method Details

#execObject

Executes default subcommand, by default ‘help’ Reimplement in subclasses



13
14
15
# File 'lib/smugsync/command.rb', line 13

def exec
    help
end