Sha256: fbec4996df4d87fca58157cf15e330cf445a262780744a4605c68ef0ddb95f1d

Contents?: true

Size: 648 Bytes

Versions: 8

Compression:

Stored size: 648 Bytes

Contents

module Icalendar

  # A property can have attributes associated with it. These "property
  # parameters" contain meta-information about the property or the
  # property value. Property parameters are provided to specify such
  # information as the location of an alternate text representation for a
  # property value, the language of a text property value, the data type
  # of the property value and other attributes.
  class Parameter < Icalendar::Content

    def to_s
      s = ""
      
      s << "#{@name}="
      if is_escapable?
        s << escape(print_value())
      else
        s << print_value
      end

      s
    end

  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
bigtinker-0.94 extras/icalendar/parameter.rb
bigtinker-0.93 extras/icalendar/parameter.rb
bigtinker-0.98 lib/icalendar/parameter.rb
bigtinker-0.95 extras/icalendar/parameter.rb
rwdschedule-0.07 lib/icalendar/parameter.rb
rwdschedule-1.00 extras/icalendar/parameter.rb
rwdschedule-1.01 extras/icalendar/parameter.rb
rwdschedule-1.02 extras/icalendar/parameter.rb