Class: RiCal::PropertyValue::Array

Inherits:
RiCal::PropertyValue show all
Defined in:
lib/ri_cal/property_value/array.rb

Overview

  • ©2009 Rick DeNatale

  • All rights reserved. Refer to the file README.txt for the license

Direct Known Subclasses

OccurrenceList

Instance Attribute Summary

Attributes inherited from RiCal::PropertyValue

#params, #timezone_finder, #value

Instance Method Summary collapse

Methods inherited from RiCal::PropertyValue

#==, #add_date_times_to, convert, date_or_date_time, #enumerator, #equality_value, #for_parent, from_string, #initialize, #parms_string, #ruby_value, #to_options_hash, #to_ri_cal_property_value, #to_s, #validate_value, #visible_params

Constructor Details

This class inherits a constructor from RiCal::PropertyValue

Instance Method Details

#value=(val) ⇒ Object

:nodoc:



8
9
10
11
12
13
14
15
# File 'lib/ri_cal/property_value/array.rb', line 8

def value=(val)
  case val
  when String
    @value = val.split(",")
  else
    @value = val
  end
end