PageRenderTime 21ms CodeModel.GetById 19ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/test/interactive.rb

http://github.com/publicdisplay/icalendar
Ruby | 17 lines | 6 code | 6 blank | 5 comment | 0 complexity | 5511faa230bef237df159cc13380a768 MD5 | raw file
Possible License(s): GPL-2.0
 1#!/usr/bin/env ruby
 2
 3# NOTE: you must have installed ruby-breakpoint in order to use this script.
 4# Grab it using gem with "gem install ruby-breakpoint --remote" or download
 5# from the website (http://ruby-breakpoint.rubyforge.org/) then run setup.rb
 6
 7$:.unshift(File.dirname(__FILE__) + '/../lib')
 8
 9require 'rubygems'
10require 'breakpoint'
11
12require 'icalendar'
13
14cal = Icalendar::Parser.new(File.new("life.ics")).parse
15#cal = Icalendar::Calendar.new
16
17breakpoint