Class: Rwm::TaskRunner::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rwm/task_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#outputObject

Returns the value of attribute output

Returns:

  • the current value of output



8
9
10
# File 'lib/rwm/task_runner.rb', line 8

def output
  @output
end

#package_nameObject

Returns the value of attribute package_name

Returns:

  • the current value of package_name



8
9
10
# File 'lib/rwm/task_runner.rb', line 8

def package_name
  @package_name
end

#statusObject

Returns the value of attribute status

Returns:

  • the current value of status



8
9
10
# File 'lib/rwm/task_runner.rb', line 8

def status
  @status
end

#taskObject

Returns the value of attribute task

Returns:

  • the current value of task



8
9
10
# File 'lib/rwm/task_runner.rb', line 8

def task
  @task
end

Instance Method Details

#dep_skipped?Boolean

Returns:



12
# File 'lib/rwm/task_runner.rb', line 12

def dep_skipped? = status == :dep_skipped

#errored?Boolean

Returns:



13
# File 'lib/rwm/task_runner.rb', line 13

def errored? = status == :errored

#failed?Boolean

Returns:



10
# File 'lib/rwm/task_runner.rb', line 10

def failed? = status == :failed

#passed?Boolean

Returns:



9
# File 'lib/rwm/task_runner.rb', line 9

def passed? = status == :passed

#skipped?Boolean

Returns:



11
# File 'lib/rwm/task_runner.rb', line 11

def skipped? = status == :skipped

#success?Boolean

Returns:



14
# File 'lib/rwm/task_runner.rb', line 14

def success? = passed? || skipped?