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.6.2 lib/active_mocker/inspectable/file.rb
active_mocker-2.6.1.beta2 lib/active_mocker/inspectable/file.rb
active_mocker-2.6.1.beta lib/active_mocker/inspectable/file.rb
active_mocker-2.6.0 lib/active_mocker/inspectable/file.rb
active_mocker-2.5.4 lib/active_mocker/inspectable/file.rb
active_mocker-2.5.3 lib/active_mocker/inspectable/file.rb
active_mocker-2.5.2 lib/active_mocker/inspectable/file.rb
active_mocker-2.5.1 lib/active_mocker/inspectable/file.rb
active_mocker-2.5.1.pre lib/active_mocker/inspectable/file.rb
active_mocker-2.5.0 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.4 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.3 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.2 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.1 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.0 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.0.pre5 lib/active_mocker/inspectable/file.rb
active_mocker-2.3.4 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.0.pre4 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.0.pre3 lib/active_mocker/inspectable/file.rb
active_mocker-2.4.0.pre2 lib/active_mocker/inspectable/file.rb