Class: Textus::Infra::Port::Clock
- Inherits:
-
Object
- Object
- Textus::Infra::Port::Clock
- Includes:
- Interface
- Defined in:
- lib/textus/infra/port/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.
Defined Under Namespace
Modules: Interface
Instance Method Summary collapse
Instance Method Details
#now ⇒ Object
14 |
# File 'lib/textus/infra/port/clock.rb', line 14 def now = Time.now |