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

Class Gem::GemSpec

A .gemspec file that lists properties of a Ruby gem. The contents of a .gemspec file generally look like:

Gem::Specification.new do |s|
  s.name = 'library-name'
  s.require_path = "lib"
  # more properties
end

Import path

import codeql.ruby.frameworks.core.Gem

Fields

Predicates

getAnInputParameter

Gets a parameter from an exported method, which is an input to this gem.

getName

Gets the name of the gem

isVendored

Holds if this gem is vendored in this codebase.

toString

Gets the name of this .gemspec file.

Charpred