Method: TFClient::DotDir.local_database_file

Defined in:
lib/textflight-client/dot_dir.rb

.local_database_file(dev:) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/textflight-client/dot_dir.rb', line 13

def self.local_database_file(dev:)
  if dev
    File.expand_path(File.join(self.directory,"development.db"))
  else
    File.expand_path(File.join(self.directory,"production.db"))
  end
end