module Qonfig::Plugins::PrettyPrint::SettingsMixin
@api private @since 0.21.0
Public Instance Methods
pretty_print(pp)
click to toggle source
@param pp [?] Suitable for Ruby's PP
module @return [void]
@api public @since 0.21.0
# File lib/qonfig/plugins/pretty_print/mixin.rb, line 69 def pretty_print(pp) pp.object_address_group(self) do pp.seplist(__keys__, proc { pp.text(',') }) do |key| pp.breakable(' ') pp.group(1) do pp.text(key) pp.text(':') pp.breakable pp.pp(self[key]) end end end end