Class: Textus::Ports::Clock
- Inherits:
-
Object
- Object
- Textus::Ports::Clock
- Defined in:
- lib/textus/ports/clock.rb
Overview
The wall clock. An instantiable class (ADR 0109) — uniform with the other ports; ‘now` reads the system time. Callers that need a fixed time still pass it as data via `Call#now`.
Instance Method Summary collapse
Instance Method Details
#now ⇒ Object
7 |
# File 'lib/textus/ports/clock.rb', line 7 def now = Time.now |