Class: PgExport::Listeners::Interactive::BuildDump
Instance Method Summary
collapse
green, #on_step_failed, red
Instance Method Details
#on_step(step_name:, args:) ⇒ Object
9
10
11
|
# File 'lib/pg_export/lib/pg_export/listeners/interactive/build_dump.rb', line 9
def on_step(step_name:, args:)
@spinner = build_spinner("Dumping database #{args.first[:database_name]}")
end
|
#on_step_succeeded(step_name:, args:, value:) ⇒ Object
13
14
15
|
# File 'lib/pg_export/lib/pg_export/listeners/interactive/build_dump.rb', line 13
def on_step_succeeded(step_name:, args:, value:)
@spinner.success([success, value[:dump]].join(' '))
end
|