Method: Dotbox::File#backup_path

Defined in:
lib/dotbox/file.rb

#backup_pathObject



19
20
21
22
23
24
25
# File 'lib/dotbox/file.rb', line 19

def backup_path
  if @backup_path.nil?
    backup_path = "#{Config.new(Dotbox::CONFIG_FILE).value}/Apps/Dotbox"
    @backup_path = ::File.expand_path("#{backup_path}/#{@rel_path}")
  end
  @backup_path
end