class RBT::CompileIntoHomeDirWithoutSymlinking

Public Class Methods

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

RBT::CompileIntoHomeDirWithoutSymlinking[]

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 74
def self.[](i = '')
  new(i)
end
new( i = ARGV, run_already = true ) click to toggle source
#

initialize

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 28
def initialize(
    i           = ARGV,
    run_already = true
  )
  reset
  set_compile_these_programs(
    i
  )
  run if run_already
end

Public Instance Methods

compile_which_programs?() click to toggle source
#

compile_which_programs?

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 57
def compile_which_programs?
  @compile_these_programs
end
Also aliased as: input?
input?()
reset() click to toggle source
#

reset (reset tag)

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

run (run tag)

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 64
def run
  # ======================================================================= #
  # Instantiate our compile-object next:
  # ======================================================================= #
  CompileIntoHomeDir.new(compile_which_programs?) { :without_symlinking }
end
set_compile_these_programs(i) click to toggle source
#

set_compile_these_programs

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 50
def set_compile_these_programs(i)
  @compile_these_programs = [i].flatten.compact
end