Sha256: 749815020dfcf99a0d7a4dd5eb033d7cac2dc2f3d70488f5d4820e736e807959
Contents?: true
Size: 425 Bytes
Versions: 7
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true require 'eac_git/rspec/stubbed_git_local_repo/fs_object' require 'fileutils' module EacGit module Rspec module StubbedGitLocalRepo class File < ::EacGit::Rspec::StubbedGitLocalRepo::FsObject def touch ::FileUtils.touch(path.to_path) end def delete path.unlink end delegate :write, to: :path end end end end
Version data entries
7 entries across 7 versions & 2 rubygems