Module: Qonfig::Plugins::PrettyPrint::CompactedConfigMixin Private
- Included in:
- Compacted
- Defined in:
- lib/qonfig/plugins/pretty_print/mixin.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#pretty_print(pp) ⇒ void
This method returns an undefined value.
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/qonfig/plugins/pretty_print/mixin.rb', line 37 def pretty_print(pp) pp.object_address_group(self) do pp.seplist(@____data_set____.keys, ::Kernel.proc { pp.text(',') }) do |key| pp.breakable(' ') pp.group(1) do pp.text(key) pp.text(':') pp.breakable pp.pp(@____data_set____[key]) end end end end |