Module: Grably::Utils::PrettyPrinter
- Defined in:
- lib/grably/utils/pretty_printer.rb
Overview
Profile structure printer
Instance Method Summary collapse
Instance Method Details
#print(hash, buffer, ident) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/grably/utils/pretty_printer.rb', line 6 def print(hash, buffer, ident) hash.each do |key, value| v = value[:value] r = value[:raw_value] # raw value for interpolated strings print_top_level(key, v, r, buffer, ident) end end |