Sha256: 859843021b2d0f439c17a789cdf5272e845e2fe2405c3a1e5e3d528c4dcae0aa
Contents?: true
Size: 445 Bytes
Versions: 44
Compression:
Stored size: 445 Bytes
Contents
require 'forwardable' module SSHKit module Formatter class Abstract extend Forwardable attr_reader :original_output def_delegators :@original_output, :read, :rewind def initialize(oio) @original_output = oio end def write(obj) raise "Abstract formatter should not be used directly, maybe you want SSHKit::Formatter::BlackHole" end alias :<< :write end end end
Version data entries
44 entries across 42 versions & 3 rubygems