@@ -67,41 +67,37 @@ private predicate isPrivateKernelMethod(string method) {
67
67
68
68
string basicObjectInstanceMethodName ( ) {
69
69
result in [
70
- "equal?" , "instance_eval" , "instance_exec" , "method_missing" , "singleton_method_added" ,
71
- "singleton_method_removed" , "singleton_method_undefined"
72
- ]
70
+ "equal?" , "instance_eval" , "instance_exec" , "method_missing" , "singleton_method_added" ,
71
+ "singleton_method_removed" , "singleton_method_undefined"
72
+ ]
73
73
}
74
74
75
75
/**
76
76
* Instance methods on `BasicObject`, which are available to all classes.
77
77
*/
78
78
class BasicObjectInstanceMethodCall extends UnknownMethodCall {
79
- BasicObjectInstanceMethodCall ( ) {
80
- this .getMethodName ( ) = basicObjectInstanceMethodName ( )
81
- }
79
+ BasicObjectInstanceMethodCall ( ) { this .getMethodName ( ) = basicObjectInstanceMethodName ( ) }
82
80
}
83
81
84
82
string objectInstanceMethodName ( ) {
85
83
result in [
86
- "!~" , "<=>" , "===" , "=~" , "callable_methods" , "define_singleton_method" , "display" ,
87
- "do_until" , "do_while" , "dup" , "enum_for" , "eql?" , "extend" , "f" , "freeze" , "h" , "hash" ,
88
- "inspect" , "instance_of?" , "instance_variable_defined?" , "instance_variable_get" ,
89
- "instance_variable_set" , "instance_variables" , "is_a?" , "itself" , "kind_of?" ,
90
- "matching_methods" , "method" , "method_missing" , "methods" , "nil?" , "object_id" ,
91
- "private_methods" , "protected_methods" , "public_method" , "public_methods" , "public_send" ,
92
- "remove_instance_variable" , "respond_to?" , "respond_to_missing?" , "send" ,
93
- "shortest_abbreviation" , "singleton_class" , "singleton_method" , "singleton_methods" ,
94
- "taint" , "tainted?" , "to_enum" , "to_s" , "trust" , "untaint" , "untrust" , "untrusted?"
95
- ]
84
+ "!~" , "<=>" , "===" , "=~" , "callable_methods" , "define_singleton_method" , "display" ,
85
+ "do_until" , "do_while" , "dup" , "enum_for" , "eql?" , "extend" , "f" , "freeze" , "h" , "hash" ,
86
+ "inspect" , "instance_of?" , "instance_variable_defined?" , "instance_variable_get" ,
87
+ "instance_variable_set" , "instance_variables" , "is_a?" , "itself" , "kind_of?" ,
88
+ "matching_methods" , "method" , "method_missing" , "methods" , "nil?" , "object_id" ,
89
+ "private_methods" , "protected_methods" , "public_method" , "public_methods" , "public_send" ,
90
+ "remove_instance_variable" , "respond_to?" , "respond_to_missing?" , "send" ,
91
+ "shortest_abbreviation" , "singleton_class" , "singleton_method" , "singleton_methods" , "taint ",
92
+ "tainted?" , "to_enum" , "to_s" , "trust" , "untaint" , "untrust" , "untrusted?"
93
+ ]
96
94
}
97
95
98
96
/**
99
97
* Instance methods on `Object`, which are available to all classes except `BasicObject`.
100
98
*/
101
99
class ObjectInstanceMethodCall extends UnknownMethodCall {
102
- ObjectInstanceMethodCall ( ) {
103
- this .getMethodName ( ) = objectInstanceMethodName ( )
104
- }
100
+ ObjectInstanceMethodCall ( ) { this .getMethodName ( ) = objectInstanceMethodName ( ) }
105
101
}
106
102
107
103
/**
0 commit comments