class PgExport
Constants
- Import
- VERSION
Attributes
transaction[R]
Public Class Methods
interactive()
click to toggle source
# File lib/pg_export.rb, line 9 def interactive PgExport::Container.start(:interactive) new(transaction: PgExport::Container['transactions.import_dump_interactively']) end
new(transaction:)
click to toggle source
# File lib/pg_export.rb, line 20 def initialize(transaction:) @transaction = transaction end
plain()
click to toggle source
# File lib/pg_export.rb, line 14 def plain PgExport::Container.start(:plain) new(transaction: PgExport::Container['transactions.export_dump']) end
Public Instance Methods
call(database_name, &block)
click to toggle source
# File lib/pg_export.rb, line 24 def call(database_name, &block) transaction.call(database_name: database_name, &block) end