lib/stairs/env_adapters/rbenv.rb in stairs-0.4.0 vs lib/stairs/env_adapters/rbenv.rb in stairs-0.4.1

- old
+ new

@@ -11,8 +11,12 @@ Regexp.new("^#{name}=(.*)$"), "#{name}=#{value}", ".rbenv-vars", ) end + + def unset(name) + Util::FileMutation.remove Regexp.new("^#{name}=(.*)\n"), ".rbenv-vars" + end end end end