Class: Jets::Dotenv::Show

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

Class Method Summary collapse

Class Method Details

.listObject



3
4
5
6
7
8
9
# File 'lib/jets/dotenv/show.rb', line 3

def self.list
  puts "# Env from evaluated dotenv files"
  vars = Jets::Dotenv.load!
  vars.each do |k,v|
    puts "#{k}=#{v}"
  end
end