test/fake_home.rb in zold-0.9.8 vs test/fake_home.rb in zold-0.9.9
- old
+ new
@@ -26,9 +26,10 @@
# Fake home dir.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
# Copyright:: Copyright (c) 2018 Yegor Bugayenko
# License:: MIT
class FakeHome
+ attr_reader :dir
def initialize(dir = Dir.pwd)
@dir = dir
end
def run