Module: Rock::Errors

Extended by:
Errors
Included in:
Errors
Defined in:
lib/proutils/rtar/rtar.rb

Overview

Errors module.

Instance Method Summary collapse

Instance Method Details

#already_exists(file) ⇒ Object



301
302
303
# File 'lib/proutils/rtar/rtar.rb', line 301

def already_exists( file )
  "'#{file}' already exits. Use -f to overwrite"
end

#no_rock_extObject



305
306
307
# File 'lib/proutils/rtar/rtar.rb', line 305

def no_rock_ext
  "no .rock extension, either rename or use -f to replace"
end

#not_rock_archiveObject



297
298
299
# File 'lib/proutils/rtar/rtar.rb', line 297

def not_rock_archive
  "file is not a rock archive"
end