Created
June 19, 2010 04:17
-
-
Save skwp/444575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# debugging from console...parse calendar | |
# note the #first call at the end, because the calendar seems to come | |
# in a one element array (not sure why) | |
cal = RiCal.parse_string(File.read("tmp/feeds/1_revolution_cafe/1f66991912759009fd90a29331e4a3f1")).first | |
# grab the first event | |
event = cal.events.first | |
# props | |
event.start_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment