Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 11 lines (9 sloc) 0.274 kB
#!/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'
Jump to Line
Something went wrong with that request. Please try again.