Module: Mooncell::CLI::Commands::Base::InstanceMethods 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

#callObject

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



54
55
56
57
58
59
60
61
# File 'lib/mooncell/cli/commands/base.rb', line 54

def call(*)
  if self.class.requirements.any?
    Mooncell.environment.require_project_environment
    # TODO: Load requirements
    Mooncell::Loader.setup
  end
  super
end