module Kernel

“global” Kernel converter functions use like

Timestamp(0) or Timedelta(0)

Public Instance Methods

Timedelta(arg) click to toggle source
# File lib/units-time.rb, line 28
def Timedelta(arg) Timedelta.new( arg ); end
Timestamp(arg) click to toggle source
# File lib/units-time.rb, line 27
def Timestamp(arg) Timestamp.new( arg ); end