Class: ENV

Inherits:
Object show all
Defined in:
lib/pp.rb

Class Method Summary collapse

Class Method Details

.pretty_print(q) ⇒ Object



352
353
354
355
356
357
358
# File 'lib/pp.rb', line 352

def pretty_print(q)
  h = {}
  ENV.keys.sort.each {|k|
    h[k] = ENV[k]
  }
  q.pp_hash h
end