Class Brakeman::CallIndex
In: lib/brakeman/call_index.rb
Parent: Object

Stores call sites to look up later.

Methods

Public Class methods

Initialize index with calls from FindAllCalls

Public Instance methods

Find calls matching specified option hash.

Options:

  * :target - symbol, array of symbols, or regular expression to match target(s)
  * :method - symbol, array of symbols, or regular expression to match method(s)
  * :chained - boolean, whether or not to match against a whole method chain (false by default)
  * :nested - boolean, whether or not to match against a method call that is a target itself (false by default)

[Validate]