Concurrent::Channel::Tick < Synchronization::Object — A convenience class representing a single moment in monotonic time, returned by tickers and timers when they resolve.
| Use Case | Command | Description |
|---|---|---|
| 🔍 Get monotonic time | tick.monotonic |
Returns the monotonic time of the tick |
| 🔍 Get UTC time | tick.utc |
Returns the UTC time of the tick |
| 🔍 Get epoch time | tick.epoch |
Returns the epoch time of the tick |
| 🔍 Compare ticks | tick <=> other |
Comparison with another tick (includes Comparable) |
| 🔍 Format as string | tick.to_s |
Returns a string representation of the tick |
A convenience class representing a single moment in monotonic time. Returned by Concurrent::Channel tickers and timers when they resolve.
Includes Comparable and can be compared to monotonic_time, UTC time, or epoch time.
@see Concurrent.monotonic_time @see Concurrent::Channel.ticker @see Concurrent::Channel.timer
Comparable (from /home/chedong/.local/share/rdoc)STRING_FORMAT: [not documented]new<=>epochmonotonicto_sutcattr_reader :monotonicattr_reader :utcGenerated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-28 22:40 @216.73.217.46
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format