Sha256: 3f304822764dab7157e23a3a04a114edac1614a6fd837892c98073498be912da
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
module InstallGemLocal module InstallGem def install_gem puts '-----------------------------' puts '' files_exists = file_names if files_exists.count > 1 install_gem_from_path(multiple_version_selection) elsif files_exists.count == 1 install_gem_from_path(files_exists.first) else ap 'Gem not exist' end end def install_gem_from_path(file_name) return if file_name == 'exit' tty_command.run("gem install #{file_name}") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
install_gem_local-0.1.6 | lib/install_gem_local/action/install_gem.rb |