Class: Clock::Local
- Inherits:
-
Object
show all
- Includes:
- Clock
- Defined in:
- lib/clock/local.rb
Defined Under Namespace
Modules: Substitute
Class Method Summary
collapse
Methods included from Clock
#canonize, #elapsed_milliseconds, included, #iso8601, local, #now, #parse, #system_time, #timestamp, utc
Methods included from Now
#now
Methods included from Canonize
#canonize
Methods included from SystemTime
#system_time
Methods included from ISO8601
#iso8601, #precision
Methods included from Parse
#parse
#elapsed_milliseconds
Methods included from Timestamp
#timestamp
Class Method Details
.canonize(time) ⇒ Object
5
6
7
|
# File 'lib/clock/local.rb', line 5
def self.canonize(time, *)
Clock.local(time)
end
|