Parent

Methods

Time

Attributes

ical_params[RW]

Public Instance Methods

to_ical(utc = false) click to toggle source
# File lib/icalendar/conversions.rb, line 97
def to_ical(utc = false)
  s = strftime '%H%M%S'

  # UTC time gets a Z suffix
  if utc
    s << "Z"
  end

  s
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.