CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (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

toString

Gets the name of this .gemspec file.

Charpred