Module: Kernel

Defined in:
lib/units-time.rb

Overview

“global” Kernel converter functions use like

Timestamp(0) or Timedelta(0)

Instance Method Summary collapse

Instance Method Details

#Timedelta(arg) ⇒ Object



28
# File 'lib/units-time.rb', line 28

def Timedelta(arg) Timedelta.new( arg ); end

#Timestamp(arg) ⇒ Object



27
# File 'lib/units-time.rb', line 27

def Timestamp(arg) Timestamp.new( arg ); end