Class: Shred::Commands::PlatformDeps

Inherits:
Base
  • Object
show all
Defined in:
lib/shred/commands/platform_deps.rb

Defined Under Namespace

Classes: Dependency, HomebrewDependency, RubyGemDependency, ShellCommandDependency

Instance Attribute Summary collapse

Attributes inherited from Base

#command_config, #command_name, #console

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Shred::Commands::Base

Instance Attribute Details

#supported_dependenciesObject (readonly)

Returns the value of attribute supported_dependencies.



6
7
8
# File 'lib/shred/commands/platform_deps.rb', line 6

def supported_dependencies
  @supported_dependencies
end

Instance Method Details

#install(*dependencies) ⇒ Object



78
79
80
# File 'lib/shred/commands/platform_deps.rb', line 78

def install(*dependencies)
  invoke_for_dependencies(:install, *dependencies)
end

#update(*dependencies) ⇒ Object



90
91
92
# File 'lib/shred/commands/platform_deps.rb', line 90

def update(*dependencies)
  invoke_for_dependencies(:update, *dependencies)
end