class RBT::CompileIntoHomeDirWithoutSymlinking

Constants

NAMESPACE
#

NAMESPACE

#

Public Class Methods

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

RBT::CompileIntoHomeDirWithoutSymlinking[]

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 76
def self.[](i = '')
  self.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 30
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 59
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 44
def reset
  super()
  @namespace = NAMESPACE
end
run() click to toggle source
#

run (run tag)

#
# File lib/rbt/utility_scripts/compile_into_home_dir_without_symlinking.rb, line 66
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 52
def set_compile_these_programs(i)
  @compile_these_programs = [i].flatten.compact
end