/test/interactive.rb
http://github.com/publicdisplay/icalendar · Ruby · 17 lines · 6 code · 6 blank · 5 comment · 0 complexity · 5511faa230bef237df159cc13380a768 MD5 · raw file
- #!/usr/bin/env ruby
- # NOTE: you must have installed ruby-breakpoint in order to use this script.
- # Grab it using gem with "gem install ruby-breakpoint --remote" or download
- # from the website (http://ruby-breakpoint.rubyforge.org/) then run setup.rb
- $:.unshift(File.dirname(__FILE__) + '/../lib')
- require 'rubygems'
- require 'breakpoint'
- require 'icalendar'
- cal = Icalendar::Parser.new(File.new("life.ics")).parse
- #cal = Icalendar::Calendar.new
- breakpoint