class RiCal::PropertyValue

PropertyValue provides common implementation of various RFC 2445 property value types

Public Instance Methods

==(o) click to toggle source

Determine if another object is equivalent to the receiver.

Calls superclass method
# File lib/ri_cal/property_value.rb, line 91
def ==(o)
  if o.class == self.class
    equality_value == o.equality_value
  else
    super
  end
end
params() click to toggle source

return a hash containing the parameters and values, if any

# File lib/ri_cal/property_value.rb, line 49
def params
  @params ||= {}
end
ruby_value() click to toggle source

return the ruby value

# File lib/ri_cal/property_value.rb, line 127
def ruby_value
  self.value
end
value() click to toggle source

Return the string value

# File lib/ri_cal/property_value.rb, line 100
def value
  @value
end