def align(text, width, direction: :left, **options)
      return text if width.nil?
      method = to_alignment(direction)
      send(method, text, width, options)
    end
def align(text, width, direction: :left, **options)
      return text if width.nil?
      method = to_alignment(direction)
      send(method, text, width, options)
    end
Aligns text within the width.

 If the text is greater than the width then unmodified
 string is returned.

 @param [String] text
   the text to align lines of
 @param [Integer] width
   the maximum width to align to

 @example
   text = "the madness of men"

   Strings::Align.align(22, :left)
   # => "the madness of men      "

   Strings::Align.align(22, :center)
   # => "   the madness of men   "

   Strings::Align(22, :right)
   # => "      the madness of men"

   Strings::Align.align(22, :center, fill: '*)
   # => "***the madness of men***"

 @api public