class Icalendar::Geo

Attributes

lat[RW]
latitude[RW]
long[RW]
longitude[RW]

Public Class Methods

new(lat, long) click to toggle source
# File lib/icalendar/component.rb, line 19
def initialize(lat, long)
  @lat = lat
  @long = long
end

Public Instance Methods

to_ical() click to toggle source
# File lib/icalendar/component.rb, line 24
def to_ical
  "#{@lat.to_ical};#{@long.to_ical}"
end