Class: RuboCop::Server::SocketReader::Header 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

#argsObject

Returns the value of attribute args

Returns:

  • (Object)

    the current value of args



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

def args
  @args
end

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



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

def command
  @command
end

#cwdObject

Returns the value of attribute cwd

Returns:

  • (Object)

    the current value of cwd



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

def cwd
  @cwd
end

#tokenObject

Returns the value of attribute token

Returns:

  • (Object)

    the current value of token



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

def token
  @token
end