Class: RiCal::PropertyValue::Integer

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

Overview

:nodoc:

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, date_or_date_time_or_period, #default_tzid, #enumerator, #equality_value, #find_timezone, #for_parent, if_valid_string, #initialize, #parms_string, #ruby_value, #to_options_hash, #to_ri_cal_property_value, #to_s, #tz_info_source?, #validate_value, #visible_params

Constructor Details

This class inherits a constructor from RiCal::PropertyValue

Instance Method Details

#value=(string) ⇒ Object



5
6
7
# File 'lib/ri_cal/property_value/integer.rb', line 5

def value=(string)
  @value = string.to_i 
end