Class: JobWorkflow::OutputDef

Inherits:
Object
  • Object
show all
Defined in:
lib/job_workflow/output_def.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, type:) ⇒ OutputDef

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



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

#nameObject (readonly)

: Symbol



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

def name
  @name
end

#typeObject (readonly)

: String



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

def type
  @type
end