On Wed, May 30, 2012 at 7:22 PM, n1 n0x <[email protected]> wrote:
> Ahhhh!
>
> Thank you guys. Now I see clearer.
> Jesus got it right indeed; I wanted to call the function from the
> outside - on the command line.
>
> What I didn't understand in Ruby is that the call of the functions were
> indeed to be written as part of the script !
>
> OKAY.... Makes sense.

Well, you can also use the whole script as "function".  Arguments are
then in ARGV (see my previous posting).

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- You received this message because you are subscribed to the Google Groups 
ruby-talk-google group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email 
to [email protected]. For more options, visit this 
group at https://groups.google.com/d/forum/ruby-talk-google?hl=en

Reply via email to