How to add function parameter and conditions dynamically ?

V

Varun Goel

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 Kumar
 
R

Robert Klemme

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,614
Members
45,289
Latest member
stfp04

Latest Threads

Top