Sha256: 3d9969ff6ed371895ab2ef028e6c1e6115095c723c9734ac39b54d3acc0397d5

Contents?: true

Size: 218 Bytes

Versions: 5

Compression:

Stored size: 218 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

Process.setproctitle "Preparing for sleep..."

10.times do |i|
	puts "Counting sheep #{i}"
	Process.setproctitle "Counting sheep #{i}"
	
	sleep 10
end

puts "Zzzzzzz"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
async-container-0.16.5 examples/title.rb
async-container-0.16.4 examples/title.rb
async-container-0.16.3 examples/title.rb
async-container-0.16.2 examples/title.rb
async-container-0.16.1 examples/title.rb