Skip to content

Instantly share code, notes, and snippets.

@ravinggenius
Created January 28, 2012 18:49
Show Gist options
  • Save ravinggenius/1695405 to your computer and use it in GitHub Desktop.
Save ravinggenius/1695405 to your computer and use it in GitHub Desktop.
Ruby wat
require 'yaml'
YAML.load <<-YAML
---
- 12:00
YAML
# Ruby 1.9.2 returns [720] (minutes)
# Ruby 1.9.3 returns [43200] (seconds)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment