Class: Canopus::Runner::Output

Inherits:
Data
  • Object
show all
Defined in:
sig/task.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#id ⇒ Integer (readonly)

Returns the value of attribute id.

Returns:

  • (Integer)


41
42
43
# File 'sig/task.rbs', line 41

def id
  @id
end

#label ⇒ String (readonly)

Returns the value of attribute label.

Returns:

  • (String)


42
43
44
# File 'sig/task.rbs', line 42

def label
  @label
end

#presentation ⇒ definition (readonly)

Returns the value of attribute presentation.

Returns:

  • (definition)


44
45
46
# File 'sig/task.rbs', line 44

def presentation
  @presentation
end

#terminal ⇒ Tarazed::PTY (readonly)

Returns the value of attribute terminal.

Returns:

  • (Tarazed::PTY)


43
44
45
# File 'sig/task.rbs', line 43

def terminal
  @terminal
end

Class Method Details

.new ⇒ instance

Parameters:

  • id (Integer)
  • label (String)
  • terminal (Tarazed::PTY)
  • presentation (definition)

Returns:

  • (instance)


45
# File 'sig/task.rbs', line 45

def self.new: (Integer id, String label, Tarazed::PTY terminal, definition presentation) -> instance