Method: Stupidedi::Config::InterchangeConfig#pretty_print

Defined in:
lib/stupidedi/config/interchange_config.rb

#pretty_print(q) ⇒ void

This method returns an undefined value.



70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/stupidedi/config/interchange_config.rb', line 70

def pretty_print(q)
  q.text "InterchangeConfig"
  q.group(2, "(", ")") do
    q.breakable ""
    @table.keys.each do |e|
      unless q.current_group.first?
        q.text ","
        q.breakable
      end
      q.pp e
    end
  end
end