Class: Citrus::Core::Build

Inherits:
Object
  • Object
show all
Defined in:
lib/citrus/core/build.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(changeset, uuid = SecureRandom.uuid, output = TestOutput.new) ⇒ Build

Returns a new instance of Build.



10
11
12
13
14
# File 'lib/citrus/core/build.rb', line 10

def initialize(changeset, uuid = SecureRandom.uuid, output = TestOutput.new)
  @changeset = changeset
  @uuid      = uuid
  @output    = output
end

Instance Attribute Details

#changesetObject (readonly)

Returns the value of attribute changeset.



8
9
10
# File 'lib/citrus/core/build.rb', line 8

def changeset
  @changeset
end

#outputObject (readonly)

Returns the value of attribute output.



8
9
10
# File 'lib/citrus/core/build.rb', line 8

def output
  @output
end

#uuidObject (readonly)

Returns the value of attribute uuid.



8
9
10
# File 'lib/citrus/core/build.rb', line 8

def uuid
  @uuid
end