Files
codeql/ruby/ql/test/library-tests/modules/ancestors.expected
2022-04-26 12:58:44 +01:00

169 lines
2.1 KiB
Plaintext

#-----| BasicObject
#-----| Class
#-----| super -> Module
#-----| Complex
#-----| super -> Numeric
#-----| FalseClass
#-----| super -> Object
#-----| Float
#-----| super -> Numeric
#-----| NilClass
#-----| super -> Object
#-----| Numeric
#-----| super -> Object
#-----| Proc
#-----| Rational
#-----| super -> Numeric
#-----| Symbol
#-----| TrueClass
#-----| super -> Object
calls.rb:
# 15| M
# 29| C
#-----| include -> M
#-----| super -> Object
# 51| D
#-----| super -> C
# 77| Integer
#-----| super -> Numeric
# 82| String
#-----| super -> Object
# 86| Kernel
# 90| Module
#-----| super -> Object
# 97| Object
#-----| super -> BasicObject
#-----| include -> Kernel
#-----| prepend -> A
# 102| Hash
#-----| super -> Object
# 106| Array
#-----| super -> Object
# 144| S
#-----| super -> Object
# 150| A
#-----| super -> S
#-----| super -> B
#-----| prepend -> A::B
# 155| B
#-----| super -> S
hello.rb:
# 1| EnglishWords
# 11| Greeting
#-----| super -> Object
#-----| include -> EnglishWords
# 18| HelloWorld
#-----| super -> Greeting
modules.rb:
# 1| Empty
# 4| Foo
# 5| Foo::Bar
# 6| Foo::Bar::ClassInFooBar
#-----| super -> Object
# 19| Foo::ClassInFoo
#-----| super -> Object
# 30| Foo::ClassInAnotherDefinitionOfFoo
#-----| super -> Object
# 37| Bar
#-----| super -> Object
# 49| Foo::Bar::ClassInAnotherDefinitionOfFooBar
#-----| super -> Object
# 60| MyModuleInGlobalScope
# 63| Test
# 65| Test::Foo1
# 66| Test::Foo1::Bar
#-----| super -> Object
# 70| Test::Foo2
# 71| Test::Foo2::Foo2
# 72| Test::Foo2::Foo2::Bar
#-----| super -> Object
# 76| Test::Foo3
# 83| Other
# 84| Other::Foo1
# 88| IncludeTest
#-----| include -> Test
# 91| Test::Foo1::Y
# 95| IncludeTest2
#-----| include -> Test
# 97| Test::Foo1::Z
# 101| PrependTest
#-----| prepend -> Test
# 103| Test::Foo2::Y
# 107| MM
# 108| MM::MM
# 112| YY
#-----| super -> Object
# 115| XX
# 116| XX::YY
#-----| super -> YY
# 120| Test::Foo1::Bar::Baz
modules_rec.rb:
# 1| B::A
#-----| super -> Object
# 4| A::B
#-----| super -> Object
private.rb:
# 1| E
#-----| super -> Object
# 42| F