Module: Mooncell::CLI::Commands::Base::ClassMethods Private
- Defined in:
- lib/mooncell/cli/commands/base.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #requirements ⇒ Object private
- #requires(*names) ⇒ Object private
Instance Method Details
#requirements ⇒ 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.
46 47 48 |
# File 'lib/mooncell/cli/commands/base.rb', line 46 def requirements @_requirements end |
#requires(*names) ⇒ 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.
40 41 42 |
# File 'lib/mooncell/cli/commands/base.rb', line 40 def requires(*names) @_requirements.concat(names) end |