zeisler/active_mocker

View on GitHub
lib/active_mocker/inspectable/file.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true
module ActiveMocker
  module Inspectable
    refine Dir do
      def File
        "File.new(#{path.inspect})"
      end
    end
  end
end