Sha256: e0b4332d368c58547e39d66439d08187d2df52b39895865ccb4a2eec132f09ed
Contents?: true
Size: 405 Bytes
Versions: 7
Compression:
Stored size: 405 Bytes
Contents
module Astrails module Safe class Stream attr_accessor :config, :backup def initialize(config, backup) @config, @backup = config, backup end # FIXME: move to Backup def expand(path) path . gsub(/:kind\b/, @backup.kind.to_s) . gsub(/:id\b/, @backup.id.to_s) . gsub(/:timestamp\b/, @backup.timestamp) end end end end
Version data entries
7 entries across 7 versions & 3 rubygems