Class: Shred::Commands::PlatformDeps::RubyGemDependency

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

Instance Attribute Summary

Attributes inherited from Dependency

#sym

Instance Method Summary collapse

Methods inherited from Dependency

#initialize

Constructor Details

This class inherits a constructor from Shred::Commands::PlatformDeps::Dependency

Instance Method Details

#install(ctx) ⇒ Object



43
44
45
# File 'lib/shred/commands/platform_deps.rb', line 43

def install(ctx)
  super(ctx, "gem install #{sym}")
end

#update(ctx) ⇒ Object



47
48
49
# File 'lib/shred/commands/platform_deps.rb', line 47

def update(ctx)
  super(ctx, "gem update #{sym}")
end