Method: Dotenv#save

Defined in:
lib/dotenv.rb

#saveObject

Save the current ‘ENV` to be restored later



67
68
69
70
71
# File 'lib/dotenv.rb', line 67

def save
  instrument(:save) do |payload|
    @diff = payload[:diff] = Dotenv::Diff.new
  end
end