Class: Dotenv::Diff::Instrumenter

Inherits:
Object
  • Object
show all
Defined in:
lib/dotenv/diff/instrumenter.rb

Instance Method Summary collapse

Instance Method Details

#instrument(name, payload) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/dotenv/diff/instrumenter.rb', line 4

def instrument(name, payload)
  payload[:env].each do |key, _|
    unless ENV.has_key?(key)
      output_message(key)
    end
  end
end