Created
March 16, 2012 10:42
-
-
Save DimaSamodurov/2049522 to your computer and use it in GitHub Desktop.
Check psych compatibility
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
# encoding: utf-8 | |
require 'erb' | |
require 'psych' | |
require 'yaml' | |
puts YAML # => 'psych' | |
Dir.glob('**/*.yml').map do |file| | |
puts file | |
Psych.load(IO.read file) unless file =~ /cucumber/ | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment