lib/qonfig/plugins/pretty_print.rb in qonfig-0.23.0 vs lib/qonfig/plugins/pretty_print.rb in qonfig-0.24.0

- old
+ new

@@ -6,11 +6,17 @@ class << self # @return [void] # # @api private # @since 0.19.0 - # @version 0.21.0 + # @version 0.24.0 def install! + # :nocov: + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.0') + require_relative 'pretty_print/ruby_2_7_basic_object_pp_patch' + end + # :nocov: + require_relative 'pretty_print/mixin' require_relative 'pretty_print/data_set' require_relative 'pretty_print/settings' require_relative 'pretty_print/compacted' end