Module: RiCal::CoreExtensions::Object::Conversions

Included in:
Object
Defined in:
lib/ri_cal/core_extensions/object/conversions.rb

Overview

  • ©2009 Rick DeNatale

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

Instance Method Summary collapse

Instance Method Details

#to_rfc2445_stringObject

Used to format rfc2445 output for RiCal



9
10
11
# File 'lib/ri_cal/core_extensions/object/conversions.rb', line 9

def to_rfc2445_string
  to_s
end

#to_ri_cal_ruby_valueObject

Used by RiCal specs returns the receiver



14
15
16
# File 'lib/ri_cal/core_extensions/object/conversions.rb', line 14

def to_ri_cal_ruby_value
  self
end