File: pry.rb

package info (click to toggle)
ruby-fakefs 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 544 kB
  • sloc: ruby: 7,622; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

# Define Pry class if it's not defined. Useful if pry
# is required after loading FakeFS
::Pry = Class.new unless defined?(::Pry)

# Make the original file system classes available in Pry.
::Pry::File = ::File
::Pry::FileUtils = ::FileUtils
::Pry::Dir = ::Dir
::Pry::Pathname = ::Pathname