Class: JobWorkflow::OutputDef

Inherits:
Object
  • Object
show all
Defined in:
lib/job_workflow/output_def.rb,
sig/generated/job_workflow/output_def.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:) ⇒ OutputDef

: (name: Symbol, type: String) -> void

Parameters:

  • name: (Symbol)
  • type: (String)


9
10
11
12
# File 'lib/job_workflow/output_def.rb', line 9

def initialize(name:, type:)
  @name = name
  @type = type
end

Instance Attribute Details

#nameSymbol (readonly)

Signature:

  • Symbol

Returns:

  • (Symbol)


5
6
7
# File 'lib/job_workflow/output_def.rb', line 5

def name
  @name
end

#typeString (readonly)

Signature:

  • String

Returns:

  • (String)


6
7
8
# File 'lib/job_workflow/output_def.rb', line 6

def type
  @type
end