How to add function parameter and conditions dynamically?

Hi All,
I have one function in that function i wanna add parameters and
conditions dynamically.

I hope you got me if yes please tell me what should i do.

Thanks
Varun K.

On 24.04.2008 13:47, Varun G. wrote:

   I have one function in that function i wanna add parameters and

conditions dynamically.

“Function in a function”? Like

def a
def b
end
end

?

I hope you got me if yes please tell me what should i do.

No, come again. Do you want to

  1. change the argument list of a method at runtime

  2. change the set of arguments you pass a method at runtime

  3. something completely different

?

Cheers

robert