Class: Dotenvious::MismatchedVariableFinder
- Inherits:
-
Object
- Object
- Dotenvious::MismatchedVariableFinder
- Defined in:
- lib/dotenvious/mismatched_variable_finder.rb
Class Method Summary collapse
Class Method Details
.mismatched_vars ⇒ Object
7 8 9 10 11 |
# 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? ⇒ Boolean
3 4 5 |
# File 'lib/dotenvious/mismatched_variable_finder.rb', line 3 def self.mismatched_vars? mismatched_vars.any? end |