Class: ENV

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

Class Method Summary collapse

Class Method Details

.pretty_print(q) ⇒ Object



358
359
360
361
362
363
364
# File 'lib/project/pp.rb', line 358

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