class Omnitest::Psychic::Factories::PowerShellScriptFactory
Public Instance Methods
active?()
click to toggle source
# File lib/omnitest/psychic/factories/powershell_factories.rb, line 38 def active? true if psychic.os_family == :windows end
script(script)
click to toggle source
# File lib/omnitest/psychic/factories/powershell_factories.rb, line 42 def script(script) script = psychic.task('run_script') if script "#{script} #{script.source_file}" else relativize_cmd(script.absolute_source_file) end end