Sha256: df10617da6159bfb3fb2e60be3ceb4197d9bcfde19b44a65e679d764314bfc3f

Contents?: true

Size: 168 Bytes

Versions: 27

Compression:

Stored size: 168 Bytes

Contents

# frozen_string_literal: true
module ActiveMocker
  module Inspectable
    refine Dir do
      def File
        "File.new(#{path.inspect})"
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
active_mocker-2.4.0.pre1 lib/active_mocker/inspectable/file.rb
active_mocker-2.3.3 lib/active_mocker/inspectable/file.rb
active_mocker-2.3.2 lib/active_mocker/inspectable/file.rb
active_mocker-2.3.1 lib/active_mocker/inspectable/file.rb
active_mocker-2.3.0 lib/active_mocker/inspectable/file.rb
active_mocker-2.2.5 lib/active_mocker/inspectable/file.rb
active_mocker-2.2.4 lib/active_mocker/inspectable/file.rb