Class: RiCal::PropertyValue::Integer

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

Overview

  • ©2009 Rick DeNatale

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

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=(string) ⇒ Object

:nodoc:



8
9
10
# File 'lib/ri_cal/property_value/integer.rb', line 8

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