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:


380
381
382
383
384
385
386
# File 'lib/pp.rb', line 380

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