Sha256: 8b8e8e3fbb2034ee2fc24d77fecadcbe6c0dc21c4b9bb7af7909bfbcf916c394
Contents?: true
Size: 281 Bytes
Versions: 3
Compression:
Stored size: 281 Bytes
Contents
require "./lib/kommando" k_in_when, k_in_out_on = nil, nil k = Kommando.new "$ echo something" k.when(:exit) do #NOTE: no |k| needed (naturally) k_in_when = true if k end k.out.on("something") do k_in_out_on = true if k end k.run raise "err" unless k_in_when && k_in_out_on
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
kommando-0.1.2 | examples/k_visibility.rb |
kommando-0.1.1 | examples/k_visibility.rb |
kommando-0.1.0 | examples/k_visibility.rb |