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.

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#requirementsObject

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.

Since:

  • 0.1.0



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.

Since:

  • 0.1.0



40
41
42
# File 'lib/mooncell/cli/commands/base.rb', line 40

def requires(*names)
  @_requirements.concat(names)
end