Sha256: 294816d0fa739f1149211eaff0efdfb0ddf3b93646a1e1b31103bdc62a2868f5

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

# from this repository run with:
# $ foreman run bundle exec ruby examples/jobs.rb

require 'pushpop'
require_relative '../lib/pushpop-file'

job do
  file do
    path File.expand_path('../colors.txt', __FILE__)
  end

  step do |last_response|
    last_response.each do |line|
      puts line
    end
  end
end

Pushpop.run

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pushpop-file-0.1.0 examples/jobs.rb