Sha256: 9761d2e169696f264b897e67a7148b49e4380831c80d810f23ef4b36a06e292b

Contents?: true

Size: 383 Bytes

Versions: 3

Compression:

Stored size: 383 Bytes

Contents

# frozen_string_literal: true

require_relative '../interactive_listener'

class PgExport
  module Listeners
    class Interactive
      class CloseConnection < InteractiveListener
        def on_step(*)
          @spinner = build_spinner('Closing connection')
        end

        def on_step_succeeded(*)
          @spinner.success(success)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pg_export-1.0.0 lib/pg_export/listeners/interactive/close_connection.rb
pg_export-1.0.0.rc8 lib/pg_export/listeners/interactive/close_connection.rb
pg_export-1.0.0.rc6 lib/pg_export/lib/pg_export/listeners/interactive/close_connection.rb