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:



424
425
426
427
428
429
430
# File 'lib/pp.rb', line 424

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