Sha256: e2a2bafb9625062050fc49185b3d529870467e142a5e65478b4ca7292c53432e
Contents?: true
Size: 457 Bytes
Versions: 10
Compression:
Stored size: 457 Bytes
Contents
module WIP module Runner module Workflow class Builder::Task < Builder::Component attr_reader :heading, :steps def initialize(command, heading, &block) @command = command @heading = heading @steps = [] instance_exec(&block) if block_given? end def step(name, &block) steps << Builder::Step.new(@command, name, &block) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems