module MoreMath::NumberifyStringFunction

def convert_alphabet(alphabet)

def convert_alphabet(alphabet)
  if alphabet.respond_to?(:to_ary)
    alphabet.to_ary
  elsif alphabet.respond_to?(:to_str)
    alphabet.to_str.split(//)
  else
    alphabet.to_a
  end
end