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:



426
427
428
429
430
431
432
# File 'lib/pp.rb', line 426

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