Create pate.rb