Class: Ibex::ArtifactSet

Inherits:
Array
  • Object
show all
Defined in:
lib/ibex/artifact_set.rb

Overview

A generation's rendered outputs before any target is changed.

Instance Method Summary collapse

Instance Method Details

#add(kind:, path:, content:, mode: nil) ⇒ Object



27
28
29
30
31
# File 'lib/ibex/artifact_set.rb', line 27

def add(kind:, path:, content:, mode: nil)
  artifact = Artifact.new(kind: kind, path: path, content: content, mode: mode)
  self << artifact
  artifact
end