Sha256: fdfb1659354db7b87aa78ce639e48326b165afab092172f99c8e834c939cec2a

Contents?: true

Size: 232 Bytes

Versions: 4

Compression:

Stored size: 232 Bytes

Contents

module KnifeSolo
  module Tools
    def system!(command)
      raise "Failed to launch command #{command}" unless system(command)
    end

    def windows_client?
      RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
knife-solo-0.3.0.pre2 lib/knife-solo/tools.rb
knife-solo-0.3.0.pre1 lib/knife-solo/tools.rb
knife-solo-0.2.0 lib/knife-solo/tools.rb
knife-solo-0.2.0.pre1 lib/knife-solo/tools.rb