Class: ENV

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

Class Method Summary (collapse)

Class Method Details

+ (Object) pretty_print(q)



360
361
362
363
364
365
366
# File 'lib/pp.rb', line 360

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