@@ -67,41 +67,37 @@ private predicate isPrivateKernelMethod(string method) {
6767
6868string basicObjectInstanceMethodName ( ) {
6969 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+ ]
7373}
7474
7575/**
7676 * Instance methods on `BasicObject`, which are available to all classes.
7777 */
7878class BasicObjectInstanceMethodCall extends UnknownMethodCall {
79- BasicObjectInstanceMethodCall ( ) {
80- this .getMethodName ( ) = basicObjectInstanceMethodName ( )
81- }
79+ BasicObjectInstanceMethodCall ( ) { this .getMethodName ( ) = basicObjectInstanceMethodName ( ) }
8280}
8381
8482string objectInstanceMethodName ( ) {
8583 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+ ]
9694}
9795
9896/**
9997 * Instance methods on `Object`, which are available to all classes except `BasicObject`.
10098 */
10199class ObjectInstanceMethodCall extends UnknownMethodCall {
102- ObjectInstanceMethodCall ( ) {
103- this .getMethodName ( ) = objectInstanceMethodName ( )
104- }
100+ ObjectInstanceMethodCall ( ) { this .getMethodName ( ) = objectInstanceMethodName ( ) }
105101}
106102
107103/**
0 commit comments