class RBT::SymlinkIntoUsrLibDirectory

Public Class Methods

[](i = ARGV) click to toggle source
#

RBT::SymlinkIntoUsrLibDirectory[]

#
# File lib/rbt/utility_scripts/symlink_into_usr_lib_directory.rb, line 118
def self.[](i = ARGV)
  new(i)
end
new( symlink_these_files = nil, run_already = true ) click to toggle source
#

initialize

#
# File lib/rbt/utility_scripts/symlink_into_usr_lib_directory.rb, line 31
def initialize(
    symlink_these_files = nil,
    run_already         = true
  )
  reset
  set_symlink_these_files(
    symlink_these_files
  )
  run if run_already
end

Public Instance Methods

reset() click to toggle source
#

reset (reset tag)

#
Calls superclass method RBT::LeanPrototype#reset
# File lib/rbt/utility_scripts/symlink_into_usr_lib_directory.rb, line 45
def reset
  super()
  infer_the_namespace
end
run() click to toggle source
#

run (run tag)

#
# File lib/rbt/utility_scripts/symlink_into_usr_lib_directory.rb, line 111
def run
  do_symlink_the_following_files(@symlink_these_files)
end