class Dotenvious::MismatchedVariableFinder
Public Class Methods
mismatched_vars()
click to toggle source
# File lib/dotenvious/mismatched_variable_finder.rb, line 7 def self.mismatched_vars keys.select do |key| ENV_EXAMPLE.has_key?(key) && ENV_EXAMPLE[key] != ENV[key] end end
mismatched_vars?()
click to toggle source
# File lib/dotenvious/mismatched_variable_finder.rb, line 3 def self.mismatched_vars? mismatched_vars.any? end
Private Class Methods
keys()
click to toggle source
# File lib/dotenvious/mismatched_variable_finder.rb, line 15 def self.keys return ENV.keys if CONFIG[:custom_variables].nil? ENV.keys.reject do |key| CONFIG[:custom_variables].include?(key) end end