Add @!attribute comments to connection.rb

This commit is contained in:
Sebastian Serth
2021-10-18 22:02:42 +02:00
parent 2ad4eb7625
commit e95ad5e26c

View File

@ -9,6 +9,10 @@ class Runner::Connection
WEBSOCKET_MESSAGE_TYPES = %i[start stdout stderr error timeout exit].freeze
BACKEND_OUTPUT_SCHEMA = JSONSchemer.schema(JSON.parse(File.read('lib/runner/backend-output.schema.json')))
# @!attribute start_callback
# @!attribute exit_callback
# @!attribute stdout_callback
# @!attribute stderr_callback
attr_writer :status
attr_reader :error