Class: Backhoe::Sqlite3

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

Instance Attribute Summary

Attributes inherited from Base

#config, #file_path

Instance Method Summary collapse

Instance Method Details

#dump(**_) ⇒ Object



71
72
73
# File 'lib/backhoe.rb', line 71

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

#loadObject



75
76
77
# File 'lib/backhoe.rb', line 75

def load
  FileUtils.cp file_path, database
end