oops (Demo)
Ruby Tip8: No Method Overloading Supported in Ruby
As per design, Method overloading is not supported in Ruby. If you try the below example, you will get “`foobar’: wrong number of arguments...