module Icalendar

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

class Object

def to_ical
  raise(NotImplementedError, "This object does not implement the to_ical method!")
end

end

Copyright (C) 2005 Jeff Rose Copyright (C) 2005 Sam Roberts

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Copyright (C) 2005 Jeff Rose

This library is free software; you can redistribute it and/or modify it under the same terms as the ruby language itself, see the file COPYING for details.

Constants

MAX_LINE_LENGTH

Public Class Methods

parse(src, single = false) click to toggle source
# File lib/icalendar/parser.rb, line 16
def Icalendar.parse(src, single = false)
  cals = Icalendar::Parser.new(src).parse

  if single
    cals.first
  else
    cals
  end
end