Class: Babushka::ArchSystemProfile

Inherits:
LinuxSystemProfile show all
Defined in:
lib/babushka/system_profile.rb

Instance Method Summary collapse

Methods inherited from LinuxSystemProfile

#cpus, #public_ip, #release, #system_str, #total_memory

Methods inherited from SystemProfile

#bsd?, #codename, #codename_str, #cpu_type, #cpus, #definition, #description, #differentiator_for, #flavour, #hostname, #library_ext, #linux?, #match_list, #matcher, #matches?, #osx?, #pkg_helper_key, #pkg_helper_str, #public_ip, #system, #system_description, #total_memory, #version_info

Methods included from ShellHelpers

cmd_dir, current_username, log_shell, login_shell, raw_shell, shell, shell!, shell?, shell_cmd, sudo, which

Methods included from LogHelpers

debug, deprecated!, log, log_block, log_error, log_ok, log_stderr, log_warn, removed!

Instance Method Details

#flavour_strObject


192
# File 'lib/babushka/system_profile.rb', line 192

def flavour_str; 'Arch' end

#get_version_infoObject

Arch uses rolling versions and doesn't assign version numbers.


196
# File 'lib/babushka/system_profile.rb', line 196

def get_version_info; 'rolling' end

#pkg_helperObject


193
# File 'lib/babushka/system_profile.rb', line 193

def pkg_helper; PacmanHelper end

#versionObject


197
# File 'lib/babushka/system_profile.rb', line 197

def version; nil end