Method: Keybox::Application::PasswordSafe#export_to_csv

Defined in:
lib/keybox/application/password_safe.rb

#export_to_csv(file) ⇒ Object

Export data from the database into a CSV file



420
421
422
423
# File 'lib/keybox/application/password_safe.rb', line 420

def export_to_csv(file)
    Keybox::Convert::CSV.to_file(@db.records, file)
    hsay "Exported #{@db.records.size} records to #{file}.", :information
end