module Omnitest::Psychic::Factories::ShellBase

Constants

EXTENSIONS

Public Instance Methods

active?() click to toggle source
# File lib/omnitest/psychic/factories/shell_factories.rb, line 7
def active?
  true unless psychic.os_family == :windows
end

Protected Instance Methods

relativize_cmd(cmd) click to toggle source
# File lib/omnitest/psychic/factories/shell_factories.rb, line 13
def relativize_cmd(cmd)
  cmd = Omnitest::Core::FileSystem.relativize(cmd, cwd)
  "./#{cmd}" unless cmd.to_s.start_with? '/'
end