Create a method without name to module

I have a Foo module and I would like to add inside a method ()
(without name) in order to

Foo(“bar”) # => do some stuff…

Just like Array( ... ) and Integer( ... ). Is it possible?
Thank you.

Would the following suffice?

module Kernel
def Foo(arg)
puts arg

Foo(‘hello’) #=> hello

Oh! okay now I understand thanks to you!

Well, I will avoid polluting the Kernel module with my stuff.