Class: Coursemology::Evaluator::Utils::DockerAttachBlock

Inherits:
Struct
  • Object
show all
Defined in:
lib/coursemology/evaluator/utils.rb

Overview

Represents one block of the Docker Attach protocol.

Instance Attribute Summary collapse

Instance Attribute Details

#bytesObject

Returns the value of attribute bytes

Returns:

  • (Object)

    the current value of bytes



4
5
6
# File 'lib/coursemology/evaluator/utils.rb', line 4

def bytes
  @bytes
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



4
5
6
# File 'lib/coursemology/evaluator/utils.rb', line 4

def length
  @length
end

#streamObject

Returns the value of attribute stream

Returns:

  • (Object)

    the current value of stream



4
5
6
# File 'lib/coursemology/evaluator/utils.rb', line 4

def stream
  @stream
end