Method: Circa::Time#to_s

Defined in:
lib/circa/time.rb

#to_sString

Get the time as a string

Returns:

  • (String)

    Date#to_s plus the time in format %H:%M:%S



34
35
36
# File 'lib/circa/time.rb', line 34

def to_s
  "#{@date.to_s} #{@hour}:#{@minute}:#{@second}"
end