add register.rb for print data yaml format.