Module: Ey::Core::Cli::Helpers::Deprecated
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Module magic.
Instance Method Summary collapse
-
#handle ⇒ Object
Terminate the deprecated command with a message.
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
#handle ⇒ Object
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 |