CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Module Pathname

Modeling of the Pathname class from the Ruby standard library.

https://docs.ruby-lang.org/en/3.1/Pathname.html

Import path

import codeql.ruby.frameworks.stdlib.Pathname

Classes

PathnameCall

A call where the receiver is a Pathname.

PathnameInstance

An instance of the Pathname class. For example, in

PathnameOpen

A call to Pathname#open or Pathname#opendir, considered as a FileSystemAccess.

PathnameRead

A call to Pathname#read, considered as a FileSystemReadAccess.

PathnameToSFilenameSource

A call to Pathname#to_s, considered as a FileNameSource.

PathnameWrite

A call to Pathname#write, considered as a FileSystemWriteAccess.