Sha256: 395fcb93cf312d8501aec9fe9942565f415238909ab72a9ff32d226958e6e480
Contents?: true
Size: 910 Bytes
Versions: 2
Compression:
Stored size: 910 Bytes
Contents
=begin 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. =end require 'logger' module Icalendar #:nodoc: # A simple error class to differentiate iCalendar library exceptions # from ruby language exceptions or others. class IcalendarError < StandardError #:nodoc: end # Exception used when the library encounters a bogus calendar component. class InvalidComponentClass < IcalendarError end # Exception used when the library encounters a bogus property value. class InvalidPropertyValue < IcalendarError end # This class serves as the base class for just about everything in # the library so that the logging system can be configured in one place. class Base @@logger = Logger.new(STDERR) @@logger.level = Logger::WARN end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
icalendar-0.95 | lib/icalendar/base.rb |
icalendar-0.96 | lib/icalendar/base.rb |