# frozen_string_literal: true require_relative "numerictth2/version" module Numerictth2 def numerictth2(chars, filler = ' ') self.rjust(chars, filler) end end class String include Numerictth2 end class Array def split_by_partiy partition(&:even?) end end #even, odd = [1,2,3,4].split_by_partiy // even // odd