Class: Ronin::Repos::CLI::Command Private

Inherits:
Core::CLI::Command
  • Object
show all
Defined in:
lib/ronin/repos/cli/command.rb

Overview

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

Base command for all ronin-repos commands.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**kwargs) ⇒ Command

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.

Initializes the command.

Parameters:

  • kwargs (Hash{Symbol => Object})

    Additional keyword arguments for initialize.



56
57
58
59
60
# File 'lib/ronin/repos/cli/command.rb', line 56

def initialize(**kwargs)
  super(**kwargs)

  @cache_dir = CacheDir.new
end

Instance Attribute Details

#cache_dirCacheDir (readonly)

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.

The ronin-repos cache directory.

Returns:



48
49
50
# File 'lib/ronin/repos/cli/command.rb', line 48

def cache_dir
  @cache_dir
end