Module: Ey::Core::Cli::Helpers::Deprecated

Included in:
Init, Scp
Defined in:
lib/ey-core/cli/helpers/deprecated.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Module magic



27
28
29
# File 'lib/ey-core/cli/helpers/deprecated.rb', line 27

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#handleObject

Terminate the deprecated command with a message



32
33
34
# File 'lib/ey-core/cli/helpers/deprecated.rb', line 32

def handle
  abort "This command is deprecated".red
end