Class: PgExport::SqlDump

Inherits:
Dump::Base show all
Defined in:
lib/pg_export/entities/sql_dump.rb

Constant Summary

Constants inherited from Dump::Base

Dump::Base::CHUNK_SIZE

Instance Method Summary collapse

Methods inherited from Dump::Base

#initialize, #to_s

Methods included from Dump::SizeHuman

#size_human

Constructor Details

This class inherits a constructor from PgExport::Dump::Base

Instance Method Details

#extObject



7
8
9
# File 'lib/pg_export/entities/sql_dump.rb', line 7

def ext
  ''
end

#nameObject



3
4
5
# File 'lib/pg_export/entities/sql_dump.rb', line 3

def name
  'Dump'
end

#read_chunkObject



11
12
13
# File 'lib/pg_export/entities/sql_dump.rb', line 11

def read_chunk
  read(CHUNK_SIZE)
end