Module Method
Import path
import codeql.ruby.ast.MethodClasses
| Block | A block. |
| BraceBlock | A block defined using curly braces, e.g. in the following code: |
| Callable | A callable. |
| DoBlock | A block enclosed within |
| Lambda | A lambda (anonymous method). For example: |
| Method | A normal method. |
| MethodBase | A method. |
| SingletonMethod | A singleton method. |