class RBT::Autosymlink
Public Class Methods
[](i = '')
click to toggle source
new( commandline_arguments = nil, run_already = true )
click to toggle source
Public Instance Methods
determine_target_directory(i = return_pwd)
click to toggle source
reset()
click to toggle source
rnsymc()
click to toggle source
run()
click to toggle source
#¶ ↑
run (run tag)¶ ↑
#¶ ↑
# File lib/rbt/utility_scripts/autosymlink.rb, line 66 def run determine_target_directory one = @target_directory+'lib64' two = @target_directory+'lib' if File.directory?(one) and !File.exist?(two) opne "Symlinking from #{steelblue(one)} to #{olive(two)} next:" cd @target_directory symlink( from: 'lib64', to: 'lib' ) rnsymc end end