Sha256: 13a6b0c8d56ad441c248ce871682e6c4ce5947fd1a34a2504c06b6d41ef4e12e

Contents?: true

Size: 204 Bytes

Versions: 2

Compression:

Stored size: 204 Bytes

Contents

def watch_process(name, template = "tasks/eye/_#{name}.erb")
  processes = fetch(:eye_watched_processes, {})

  processes[name] = {
    template: template
  }

  set :eye_watched_processes, processes
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
negroku-2.0.0.pre7 lib/negroku/helpers/watch.rb
negroku-2.0.0.pre6 lib/negroku/helpers/watch.rb