Class: Qonfig::Plugins::PrettyPrint Private

Inherits:
Abstract
  • Object
show all
Defined in:
lib/qonfig/plugins/pretty_print.rb,
lib/qonfig/plugins/pretty_print/mixin.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.19.0

Defined Under Namespace

Modules: CompactedConfigMixin, DataSetMixin, SettingsMixin

Class Method Summary collapse

Methods inherited from Abstract

inherited, load!, loaded?

Class Method Details

.install!void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Since:

  • 0.19.0

Version:

  • 0.24.0



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/qonfig/plugins/pretty_print.rb', line 12

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/requirements'
  require_relative 'pretty_print/mixin'
  require_relative 'pretty_print/data_set'
  require_relative 'pretty_print/settings'
  require_relative 'pretty_print/compacted'
end