Sha256: 1f82a3c6dd479e40f48764ba10803d27810d514c5a825f7a330c6ad1bce65ee6

Contents?: true

Size: 344 Bytes

Versions: 43

Compression:

Stored size: 344 Bytes

Contents

module SSHKit

  module Formatter

    class SimpleText < Pretty

      # Historically, SimpleText formatter was used to disable coloring, so we maintain that behaviour
      def colorize(obj, _color, _mode=nil)
        obj.to_s
      end

      def format_message(_verbosity, message, _uuid=nil)
        message
      end

    end

  end

end

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
sshkit-1.23.2 lib/sshkit/formatters/simple_text.rb
sshkit-1.23.1 lib/sshkit/formatters/simple_text.rb
sshkit-1.23.0 lib/sshkit/formatters/simple_text.rb
sshkit-1.22.2 lib/sshkit/formatters/simple_text.rb
sshkit-1.22.1 lib/sshkit/formatters/simple_text.rb
sshkit-1.22.0 lib/sshkit/formatters/simple_text.rb
sshkit-1.21.7 lib/sshkit/formatters/simple_text.rb
honeybadger-5.4.0 vendor/bundle/ruby/3.2.0/gems/sshkit-1.21.6/lib/sshkit/formatters/simple_text.rb
sshkit-1.21.6 lib/sshkit/formatters/simple_text.rb
honeybadger-5.3.0 vendor/bundle/ruby/3.2.0/gems/sshkit-1.21.5/lib/sshkit/formatters/simple_text.rb
sshkit-1.21.5 lib/sshkit/formatters/simple_text.rb
sshkit-1.21.4 lib/sshkit/formatters/simple_text.rb
sshkit-1.21.3 lib/sshkit/formatters/simple_text.rb
sshkit-1.21.2 lib/sshkit/formatters/simple_text.rb
sshkit-1.21.1 lib/sshkit/formatters/simple_text.rb
sshkit-1.21.0 lib/sshkit/formatters/simple_text.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/sshkit-1.18.2/lib/sshkit/formatters/simple_text.rb
sshkit-1.20.0 lib/sshkit/formatters/simple_text.rb
sshkit-1.19.1 lib/sshkit/formatters/simple_text.rb
sshkit-1.19.0 lib/sshkit/formatters/simple_text.rb