Class: Ibex::CLIWatch::Build

Inherits:
Object
  • Object
show all
Defined in:
lib/ibex/cli/watch.rb,
sig/ibex/cli/watch.rbs

Overview

Rendered watch generation awaiting its stability-guarded publication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(artifacts:, statuses:, source_paths:, attempted_paths:, source_records:) ⇒ Build

rubocop:disable Layout/LineLength

RBS:

  • (artifacts: ArtifactSet, statuses: Array[String], source_paths: Array[String], attempted_paths: Array[String], source_records: Array[GenerationInput]) -> void

Parameters:

  • artifacts: (ArtifactSet)
  • statuses: (Array[String])
  • source_paths: (Array[String])
  • attempted_paths: (Array[String])
  • source_records: (Array[GenerationInput])


25
26
27
28
29
30
31
32
# File 'lib/ibex/cli/watch.rb', line 25

def initialize(artifacts:, statuses:, source_paths:, attempted_paths:, source_records:)
  @artifacts = artifacts
  @statuses = statuses.freeze
  @source_paths = source_paths.freeze
  @attempted_paths = attempted_paths.freeze
  @source_records = source_records.freeze
  freeze
end

Instance Attribute Details

#artifactsArtifactSet (readonly)

Signature:

  • ArtifactSet

Returns:



17
18
19
# File 'lib/ibex/cli/watch.rb', line 17

def artifacts
  @artifacts
end

#attempted_pathsArray[String] (readonly)

Signature:

  • Array[String]

Returns:

  • (Array[String])


20
21
22
# File 'lib/ibex/cli/watch.rb', line 20

def attempted_paths
  @attempted_paths
end

#source_pathsArray[String] (readonly)

Signature:

  • Array[String]

Returns:

  • (Array[String])


19
20
21
# File 'lib/ibex/cli/watch.rb', line 19

def source_paths
  @source_paths
end

#source_recordsArray[GenerationInput] (readonly)

Signature:

  • Array[GenerationInput]

Returns:



21
22
23
# File 'lib/ibex/cli/watch.rb', line 21

def source_records
  @source_records
end

#statusesArray[String] (readonly)

Signature:

  • Array[String]

Returns:

  • (Array[String])


18
19
20
# File 'lib/ibex/cli/watch.rb', line 18

def statuses
  @statuses
end