class Dotenvious::EnvAppender
Attributes
env[R]
filename[R]
Public Class Methods
new(filename)
click to toggle source
# File lib/dotenvious/env_appender.rb, line 3 def initialize(filename) @filename = filename end
Public Instance Methods
append(key)
click to toggle source
# File lib/dotenvious/env_appender.rb, line 7 def append(key) env.write("#{key}=#{ENV_EXAMPLE[key]}\n") env.close end