Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 274 Bytes
#!/usr/bin/env ruby
#
# Loads the given YAML document and reports any errors encountered.
# If no errors were encountered, it prints "Syntax OK" to STDOUT.
#
# Written in 2011 by Suraj N. Kurapati <https://github.com/sunaku>
require 'yaml'
YAML.load(ARGF)
puts 'Syntax OK'