Class: ENV

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

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.pretty_print(q) ⇒ Object

:nodoc:



382
383
384
385
386
387
388
# File 'lib/pp.rb', line 382

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