Module: Dabcup

Defined in:
lib/dabcup.rb,
lib/dabcup/app.rb,
lib/dabcup/storage.rb,
lib/dabcup/database.rb,
lib/dabcup/operation.rb,
lib/dabcup/storage/dump.rb,
lib/dabcup/operation/get.rb,
lib/dabcup/operation/base.rb,
lib/dabcup/operation/dump.rb,
lib/dabcup/operation/list.rb,
lib/dabcup/operation/clean.rb,
lib/dabcup/operation/clear.rb,
lib/dabcup/operation/remove.rb,
lib/dabcup/operation/restore.rb,
lib/dabcup/storage/driver/s3.rb,
lib/dabcup/operation/populate.rb,
lib/dabcup/storage/driver/ftp.rb,
lib/dabcup/storage/driver/base.rb,
lib/dabcup/storage/driver/sftp.rb,
lib/dabcup/storage/driver/local.rb

Defined Under Namespace

Modules: Operation, Tunnel Classes: App, Database, Error, Help, Storage

Class Method Summary collapse

Class Method Details

.time_to_name(time) ⇒ Object



2
3
4
# File 'lib/dabcup.rb', line 2

def self.time_to_name(time)
  time.strftime('%Y-%m-%dT%H:%M:%S') + '.dump'
end