lib/i18n/tasks/data/tree/nodes.rb in i18n-tasks-0.9.29 vs lib/i18n/tasks/data/tree/nodes.rb in i18n-tasks-0.9.30
- old
+ new
@@ -1,9 +1,8 @@
# frozen_string_literal: true
require 'i18n/tasks/data/tree/traversal'
-require 'i18n/tasks/rainbow_utils'
module I18n::Tasks::Data::Tree
# A list of nodes
class Nodes
include Enumerable
include Traversal
@@ -46,10 +45,10 @@
def inspect
if present?
map(&:inspect) * "\n"
else
- I18n::Tasks::RainbowUtils.faint_color('{∅}')
+ Rainbow('{∅}').faint
end
end
# methods below change state