Sha256: ce2f1fdb99adf574bb4f7aee20c3a10f5404264e389384fb9bd3b024decefeb6

Contents?: true

Size: 587 Bytes

Versions: 6

Compression:

Stored size: 587 Bytes

Contents

class Trailblazer::Activity
  class Schema
    # An {Intermediate} structure defines the *structure* of the circuit. It usually
    # comes from a DSL or a visual editor.
    # @private This class might get removed in 0.17.0.
    class Intermediate < Struct.new(:wiring, :stop_task_ids, :start_task_id)
      TaskRef = Struct.new(:id, :data) # TODO: rename to NodeRef
      Out     = Struct.new(:semantic, :target)

      def self.TaskRef(id, data = {})
        TaskRef.new(id, data)
      end

      def self.Out(*args)
        Out.new(*args)
      end
    end # Intermediate
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trailblazer-activity-0.17.0 lib/trailblazer/activity/schema/intermediate.rb
trailblazer-activity-0.16.4 lib/trailblazer/activity/schema/intermediate.rb
trailblazer-activity-0.16.3 lib/trailblazer/activity/schema/intermediate.rb
trailblazer-activity-0.16.2 lib/trailblazer/activity/schema/intermediate.rb
trailblazer-activity-0.16.1 lib/trailblazer/activity/schema/intermediate.rb
trailblazer-activity-0.16.0 lib/trailblazer/activity/schema/intermediate.rb