class Fried::Test::Directory::CurrentWorkingDirectory::Substitute

Attributes

path[R]

Public Class Methods

new(path = "/dev/null") click to toggle source
# File lib/fried/test/directory/current_working_directory.rb, line 14
def initialize(path = "/dev/null")
  @path = path
end

Public Instance Methods

call() click to toggle source
# File lib/fried/test/directory/current_working_directory.rb, line 18
def call
  Pathname.new(path)
end