lib/dev_suite/utils/table/renderer/simple.rb in dev_suite-0.1.2 vs lib/dev_suite/utils/table/renderer/simple.rb in dev_suite-0.1.3

- old
+ new

@@ -1,12 +1,7 @@ # frozen_string_literal: true -require_relative "base" -require_relative "../formatter/text_aligner" -require_relative "../formatter/column_width_calculator" -require_relative "../formatter/colorizer" - module DevSuite module Utils module Table module Renderer class Simple < Base @@ -33,10 +28,10 @@ # # Colorizes the given string with the specified color # def colorize(str, color) - Formatter::Colorizer.colorize(str, color) + Utils::Color.colorize(str, color: color) end # # Aligns the given string to the specified width #