class

Ctop

Inherits Reference < Object

Version information for Ctop

All version components are parsed from shard.yml at compile time. Format: MAJOR.MINOR.PATCH[-STATE] (e.g., "0.1.0-alpha", "1.0.0")

Constants

Log = ::Log.for("ctop")
VERSION = {{ (`shards version`).chomp.stringify }}

Full version string from shard.yml

VERSION_MAJOR = 0
VERSION_MINOR = 0
VERSION_PATCH = 1
VERSION_STATE = nil

Constructors

new(interval : Float64 = 1.0, proc_limit : Int32 = 100, color : Bool = true)
Source

Instance methods

color?
Source
interval
Source
proc_limit
Source
run

Start the TUI event loop.

Source
selected
Source
selected=(selected : Int32)
Source

Nested types