Class: Tara::GemShim

Inherits:
Shim
  • Object
show all
Defined in:
lib/tara/shim.rb

Instance Method Summary collapse

Methods inherited from Shim

#write

Constructor Details

#initialize(gem_name, exec_name) ⇒ GemShim

Returns a new instance of GemShim.



37
38
39
# File 'lib/tara/shim.rb', line 37

def initialize(gem_name, exec_name)
 super(%(-e "load Gem.bin_path('#{gem_name}', '#{exec_name}')" -- "$@"))
end