[#1026] Is this a bug? — Dave Thomas <Dave@...>

18 messages 2000/01/03

[#1084] Infinite loop — Dave Thomas <Dave@...>

17 messages 2000/01/11

[#1104] The value of while... — Dave Thomas <Dave@...>

24 messages 2000/01/11

[ruby-talk:01048] Extract args from binding?

From: Andrew Hunt <andy@...>
Date: 2000-01-04 13:11:45 UTC
List: ruby-talk #1048
Hi all,

Is there an easy way in Ruby to get the arguments of the function
from a binding?  (In the C code, this would be the argc,argv from the
frame within the binding.)  How can I access that from Ruby?

Thanks!

/\ndy


--
Andrew Hunt, The Pragmatic Programmers, LLC.
Innovative Object-Oriented Software Development
--
Our New Book: "The Pragmatic Programmer" Published by Addison-Wesley Oct 1999
              (see www.pragmaticprogrammer.com/ppbook)
--

In This Thread

Prev Next