mirror of
https://github.com/github/codeql.git
synced 2026-01-22 10:52:58 +01:00
193 lines
2.2 KiB
Plaintext
193 lines
2.2 KiB
Plaintext
#-----| Class
|
|
#-----| -> Module
|
|
|
|
#-----| BasicObject
|
|
|
|
#-----| Complex
|
|
#-----| -> Numeric
|
|
|
|
#-----| FalseClass
|
|
#-----| -> Object
|
|
|
|
#-----| Float
|
|
#-----| -> Numeric
|
|
|
|
#-----| NilClass
|
|
#-----| -> Object
|
|
|
|
#-----| Numeric
|
|
#-----| -> Object
|
|
|
|
#-----| Proc
|
|
|
|
#-----| Rational
|
|
#-----| -> Numeric
|
|
|
|
#-----| Symbol
|
|
|
|
#-----| TrueClass
|
|
#-----| -> Object
|
|
|
|
calls.rb:
|
|
# 21| M
|
|
|
|
# 43| C
|
|
#-----| -> Object
|
|
|
|
# 65| D
|
|
#-----| -> C
|
|
|
|
# 91| Integer
|
|
#-----| -> Numeric
|
|
|
|
# 96| String
|
|
#-----| -> Object
|
|
|
|
# 100| Kernel
|
|
|
|
# 105| Module
|
|
#-----| -> Object
|
|
|
|
# 112| Object
|
|
#-----| -> BasicObject
|
|
|
|
# 117| Hash
|
|
#-----| -> Object
|
|
|
|
# 122| Array
|
|
#-----| -> Object
|
|
|
|
# 162| S
|
|
#-----| -> Object
|
|
|
|
# 168| A
|
|
#-----| -> B
|
|
#-----| -> S
|
|
|
|
# 173| B
|
|
#-----| -> S
|
|
|
|
# 187| Singletons
|
|
#-----| -> Object
|
|
|
|
# 307| SelfNew
|
|
#-----| -> Object
|
|
|
|
# 322| C1
|
|
#-----| -> Object
|
|
|
|
# 328| C2
|
|
#-----| -> C1
|
|
|
|
# 334| C3
|
|
#-----| -> C2
|
|
|
|
# 374| SingletonOverride1
|
|
#-----| -> Object
|
|
|
|
# 399| SingletonOverride2
|
|
#-----| -> SingletonOverride1
|
|
|
|
# 414| ConditionalInstanceMethods
|
|
#-----| -> Object
|
|
|
|
# 477| ExtendSingletonMethod
|
|
|
|
hello.rb:
|
|
# 1| EnglishWords
|
|
|
|
# 11| Greeting
|
|
#-----| -> Object
|
|
|
|
# 18| HelloWorld
|
|
#-----| -> Greeting
|
|
|
|
modules.rb:
|
|
# 1| Empty
|
|
|
|
# 4| Foo
|
|
|
|
# 5| Foo::Bar
|
|
|
|
# 6| Foo::Bar::ClassInFooBar
|
|
#-----| -> Object
|
|
|
|
# 19| Foo::ClassInFoo
|
|
#-----| -> Object
|
|
|
|
# 30| Foo::ClassInAnotherDefinitionOfFoo
|
|
#-----| -> Object
|
|
|
|
# 37| Bar
|
|
#-----| -> Object
|
|
|
|
# 49| Foo::Bar::ClassInAnotherDefinitionOfFooBar
|
|
#-----| -> Object
|
|
|
|
# 60| MyModuleInGlobalScope
|
|
|
|
# 63| Test
|
|
|
|
# 65| Test::Foo1
|
|
|
|
# 66| Test::Foo1::Bar
|
|
#-----| -> Object
|
|
|
|
# 70| Test::Foo2
|
|
|
|
# 71| Test::Foo2::Foo2
|
|
|
|
# 72| Test::Foo2::Foo2::Bar
|
|
#-----| -> Object
|
|
|
|
# 76| Test::Foo3
|
|
|
|
# 83| Other
|
|
|
|
# 84| Other::Foo1
|
|
|
|
# 88| IncludeTest
|
|
|
|
# 91| Test::Foo1::Y
|
|
|
|
# 95| IncludeTest2
|
|
|
|
# 97| Test::Foo1::Z
|
|
|
|
# 101| PrependTest
|
|
|
|
# 103| Test::Foo2::Y
|
|
|
|
# 107| MM
|
|
|
|
# 108| MM::MM
|
|
|
|
# 112| YY
|
|
#-----| -> Object
|
|
|
|
# 115| XX
|
|
|
|
# 116| XX::YY
|
|
#-----| -> YY
|
|
|
|
# 123| Test::Foo1::Bar::Baz
|
|
|
|
modules_rec.rb:
|
|
# 1| B::A
|
|
#-----| -> Object
|
|
|
|
# 4| A::B
|
|
#-----| -> Object
|
|
|
|
private.rb:
|
|
# 1| E
|
|
#-----| -> Object
|
|
|
|
# 62| F
|
|
|
|
# 82| PrivateOverride1
|
|
#-----| -> Object
|
|
|
|
# 96| PrivateOverride2
|
|
#-----| -> PrivateOverride1
|