Sha256: 45aeb87a48928655a65fff2c5fe958a571709140105d44e111d2f4599f0417f4

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

module PropertyHelpers

  ### Single occurrence properties
  
  def set_klass(event)
    event.klass = "PRIVATE"
    event.klass = "PUBLIC"
  end
  
  def check_klass(event)
    assert_equal(event.klass, "PUBLIC")
  end
  
  def set_created(event)
    event.
  end
  
  # Restricted occurrence properties
  def set_dtend
  
  end
  
  def set_duration
  
  end
  
  # Multiple occurrence properties 
  def set_attach
  
  end
  
  def set_attendee
  
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
icalendar-0.95 test/property_helpers.rb
icalendar-0.96 test/property_helpers.rb