lib/variant/environment.rb in variant-0.1.0 vs lib/variant/environment.rb in variant-0.1.1

- old
+ new

@@ -63,10 +63,10 @@ def default_variant= name @overrides['VARIANT'] = name end - def variant_for(name, default = nil) + def variant_for(name, default = DEVELOPMENT) self.fetch(variant_key(name)) do self.fetch('VARIANT', default) end&.to_sym end