In Files

  • ruby-3.1.2/lib/rubygems/exceptions.rb

Methods

Files

Class/Module Index [+]

Quicksearch

Gem::FilePermissionError

Signals that a file permission error is preventing the user from operating on the given directory.

Attributes

directory[R]

Public Class Methods

new(directory) click to toggle source
 
               # File ruby-3.1.2/lib/rubygems/exceptions.rb, line 92
def initialize(directory)
  @directory = directory

  super "You don't have write permissions for the #{directory} directory."
end