Sha256: e285c3d9bafeef4c6fb9511aa9efaae1f98ca5d43ef82833f14458af503f6e94
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
module SSHKit class Configuration attr_writer :command_map attr_accessor :output, :backend def initialize @output = SSHKit::Formatter::Pretty.new($stdout) @backend = SSHKit::Backend::Netssh end def command_map @command_map ||= begin Hash.new do |hash, command| if %w{if test time}.include? command.to_s hash[command] = command.to_s else hash[command] = "/usr/bin/env #{command}" end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems