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:



370
371
372
373
374
375
376
# File 'lib/pp.rb', line 370

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