class Shred::Commands::PlatformDeps::ShellCommandDependency

Attributes

install_command_lines[R]
update_command_lines[R]

Public Class Methods

new(sym: nil, install_command_lines: nil, update_command_lines: nil) click to toggle source
# File lib/shred/commands/platform_deps.rb, line 65
def initialize(sym: nil, install_command_lines: nil, update_command_lines: nil)
  super(sym: sym)
  @install_command_lines = install_command_lines
  @update_command_lines = update_command_lines
end

Public Instance Methods

install(ctx) click to toggle source
# File lib/shred/commands/platform_deps.rb, line 71
def install(ctx)
  super(ctx, install_command_lines)
end
update(ctx) click to toggle source
# File lib/shred/commands/platform_deps.rb, line 75
def update(ctx)
  super(ctx, update_command_lines)
end