class Object
Public Instance Methods
require_tag()
click to toggle source
# File lib/murder/murder.rb, line 115 def require_tag if !(temp_tag = (default_tag if default_tag != "") || ENV['tag']) puts "You must specify a 'tag' parameter to identify the transfer" exit(1) end if (temp_tag.include?("/")) puts "Tag cannot contain a / character" exit(1) end set :tag, temp_tag set :filename, "/tmp/#{tag}.tgz" end