class Procps::SchedulingPolicy

The column type for a policy column.

Constants

NORMALIZED_MAP
POLICIES

Attributes

to_sym[R]
value[R]

Protected Instance Methods

normalize() click to toggle source
# File lib/procps/column_types/scheduling_policy.rb, line 17
          def normalize
  @value = @original.is_a?(Integer) ? POLICIES[@original] : NORMALIZED_MAP[@original]
end