class RBT::Linux::Fedora

Public Class Methods

new( run_already = true ) click to toggle source
#

initialize

#
Calls superclass method RBT::LeanPrototype::new
# File lib/rbt/linux/fedora/fedora.rb, line 18
def initialize(
    run_already = true
  )
  super()
  reset
  run if run_already
end

Public Instance Methods

reset() click to toggle source
#

reset

#
# File lib/rbt/linux/fedora/fedora.rb, line 29
def reset
  infer_the_namespace
  # ======================================================================= #
  # === @array_compile_these_programs
  #
  # Denote the programs you wish to install on a fresh fedora-system.
  # ======================================================================= #
  @array_compile_these_programs = %w(
    sed
    make
    htop
  )
end
run() click to toggle source
#

run

#
# File lib/rbt/linux/fedora/fedora.rb, line 46
def run
  esystem 'dnf install konsole'
  @array_compile_these_programs.each {|this_program|
    e
    e "Next compiling #{steelblue(this_program)}#{rev}:"
    e
    action(:Installer, this_program)
  }
end