Class: Procps::Command

Inherits:
Procps::Column::Type show all
Defined in:
lib/procps/column_types/command.rb

Overview

The column type for a command column.

Instance Attribute Summary collapse

Attributes inherited from Procps::Column::Type

#original

Instance Method Summary collapse

Methods inherited from Procps::Column::Type

call, #initialize, #to_h

Constructor Details

This class inherits a constructor from Procps::Column::Type

Instance Attribute Details

#argumentsObject (readonly) Also known as: args

Returns the value of attribute arguments.



6
7
8
# File 'lib/procps/column_types/command.rb', line 6

def arguments
  @arguments
end

#nameObject (readonly) Also known as: to_s

Returns the value of attribute name.



6
7
8
# File 'lib/procps/column_types/command.rb', line 6

def name
  @name
end

#titleObject (readonly)

Returns the value of attribute title.



6
7
8
# File 'lib/procps/column_types/command.rb', line 6

def title
  @title
end

Instance Method Details

#inspectObject



10
11
12
# File 'lib/procps/column_types/command.rb', line 10

def inspect
  original
end