File: dot.rb

package info (click to toggle)
ruby-sshkit 1.21.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 700 kB
  • sloc: ruby: 3,522; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 236 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module SSHKit

  module Formatter

    class Dot < Abstract

      def log_command_exit(command)
        original_output << colorize('.', command.failure? ? :red : :green)
      end

      def write(_obj)
      end

    end

  end

end