Class: Pretest::Environment::Check
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Pretest::Environment::Check
- 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
Methods included from Linux
Methods included from Unix
Methods included from MacOS
Instance Method Details
#raise_env ⇒ Object
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 |