Create partition.rb