lib/brigadier/parameters/base.rb in brigadier-0.1.1 vs lib/brigadier/parameters/base.rb in brigadier-0.1.2
- old
+ new
@@ -58,10 +58,10 @@
args.fetch(:validators, nil)
end
def assign_value_from_env_variable
value = ENV.fetch(env_variable_value_key_name, default_value)
- self.value = value if value
+ @value = value if value
end
def normalised_name
name.gsub(/[ -]/, '_')
end