Sha256: b38270c256450030219a448544fcdbcc6a38a9232be197870d404c8a5a9bc32e
Contents?: true
Size: 352 Bytes
Versions: 16
Compression:
Stored size: 352 Bytes
Contents
def watch_process(name, options = {}) processes = fetch(:eye_watched_processes, {}) options[:name] ||= name options[:template] ||= name.to_sym if options[:template].kind_of?(Symbol) options[:template] = "capistrano/templates/eye/_#{options[:template]}.erb" end processes[name] = options set :eye_watched_processes, processes end
Version data entries
16 entries across 16 versions & 1 rubygems