Class: RuboCop::Server::SocketReader::Request Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/server/socket_reader.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



17
18
19
# File 'lib/rubocop/server/socket_reader.rb', line 17

def body
  @body
end

#headerObject

Returns the value of attribute header

Returns:

  • (Object)

    the current value of header



17
18
19
# File 'lib/rubocop/server/socket_reader.rb', line 17

def header
  @header
end