Question: can any body tell me how can i install the FFMPEG, MENCODER to my VPS server. i have WHM and cPanel.

any help about this will be appreciated.

thanks

Answer: 
You can test for the existence of each argument separately as they are set to nil if not passed (assuming they are passed in order!).

If you insist on very different arguments I suggest an hash argument with symbols for each argument you intend.. and approriate tests.

\*\* UPDATE \*\*

Also you could also rename the methods that overload with more specific names, such as

```
def perform_task_with_qualifier_1

```
there are few gems that provide this feature to your ruby code

1. [functional-ruby](https://github.com/jdantonio/functional-ruby)

```

       defn(:greet, :male) {
         puts "Hello, sir!"
       }

       defn(:greet, :female) {
         puts "Hello, ma'am!"
       }

       foo.greet(:male)   => "Hello, sir!"
       foo.greet(:female) => "Hello, ma'am!"

```

you can find more Elixir like pattern matching features from [here](http://jerrydantonio.com/functional-ruby/Functional/PatternMatching.html) 

2. [contracts.ruby](https://github.com/egonSchiele/contracts.ruby)

```

       Contract 1 => 1
       def fact x
         x
       end

       Contract C::Num => C::Num
       def fact x
        x * fact(x - 1)
       end

```

this gem helps to right beautiful defensive code. there are some criticisms about performance. so benchmark and decide. [more examples](https://egonschiele.github.io/contracts.ruby/#method-overloading)