Mypal/parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb

6 lines
96 B
Ruby

require 'nu/validator'
ARGV.each do |arg|
puts Nu::Validator::parse(open(arg)).root.name
end