class BackupFlag

Attributes

cluster[R]
date[R]
file[R]

Public Class Methods

new(cluster, file) click to toggle source
# File lib/cassandra.rb, line 175
def initialize(cluster, file)
  @cluster = cluster
  @file = file.dup
  date_as_string = file.sub! 'BACKUP_COMPLETED_', ''
  @date = DateTime.strptime(date_as_string, '%Y_%m_%d')
end