Class: Backhoe::Sqlite3

Inherits:
Base
  • Object
show all
Defined in:
lib/backhoe/sqlite.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #file_path

Instance Method Summary collapse

Instance Method Details

#dump(**_) ⇒ Object



6
7
8
# File 'lib/backhoe/sqlite.rb', line 6

def dump **_
  FileUtils.cp database, file_path
end

#loadObject



10
11
12
# File 'lib/backhoe/sqlite.rb', line 10

def load
  FileUtils.cp file_path, database
end