Class: Pretest::Environment::Check

Inherits:
Thor::Group
  • Object
show all
Includes:
Config, Thor::Actions
Defined in:
lib/pretest/environment/check.rb

Instance Method Summary collapse

Methods included from Config

#linux?, #mac?, #set_bits, #unix?, #windows?

Methods included from Windows

#set_windows_env

Methods included from Linux

#set_linux_env

Methods included from Unix

#remove_bin

Methods included from MacOS

#set_mac_env

Instance Method Details

#raise_envObject



17
18
19
20
21
22
23
24
25
26
27
# File 'lib/pretest/environment/check.rb', line 17

def raise_env
  if linux?
    set_bits
    set_linux_env
  elsif mac?
    set_mac_env
  elsif windows?
    set_bits
    set_windows_env
  end
end