Class: ENV

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

Class Method Summary collapse

Class Method Details

.pretty_print(q) ⇒ Object



729
730
731
732
733
734
735
# File 'lib/extensions/mspec/mspec/pp.rb', line 729

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