⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
ruby
/
gems
/
3.0.0
/
gems
/
typeprof-0.12.0
/
smoke
/
View File Name :
block-args2.rb
def f1(&blk) yield blk end def log1(a, r, c); end f1 do |a, *r, c| log1(a, r, c) end def f2(&blk) yield :a blk end def log2(a, r, c); end f2 do |a, *r, c| log2(a, r, c) end def f3(&blk) yield :a, :b blk end def log3(a, r, c); end f3 do |a, *r, c| log3(a, r, c) end def f4(&blk) yield :a, :b, :c blk end def log4(a, r, c); end f4 do |a, *r, c| log4(a, r, c) end def f5(&blk) yield :a, :b, :c, :d blk end def log5(a, r, c); end f5 do |a, *r, c| log5(a, r, c) end __END__ # Classes class Object private def f1: { -> nil } -> ^(nil, *bot, nil) -> nil def log1: (nil a, Array[bot] r, nil c) -> nil def f2: { (:a) -> nil } -> ^(:a, *bot, nil) -> nil def log2: (:a a, Array[bot] r, nil c) -> nil def f3: { (:a, :b) -> nil } -> ^(:a, *bot, :b) -> nil def log3: (:a a, Array[bot] r, :b c) -> nil def f4: { (:a, :b, :c) -> nil } -> ^(:a, *:b, :c) -> nil def log4: (:a a, [:b] r, :c c) -> nil def f5: { (:a, :b, :c, :d) -> nil } -> (^(:a, *:b | :c, :d) -> nil) def log5: (:a a, [:b, :c] r, :d c) -> nil end