Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2113

Re: Method Call from inside a file.

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.musoftware.de!wum.musoftware.de!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail
From Tridib Bandopadhyay <tridib04@gmail.com>
Newsgroups comp.lang.ruby
Subject Re: Method Call from inside a file.
Date Fri, 1 Apr 2011 10:44:38 -0500
Organization Service de news de lacave.net
Lines 20
Message-ID <e0c5b4412cfe9be1068f352d3ba3824f@ruby-forum.com> (permalink)
References <e4db35ea8bb31ebf053db829562ecabf@ruby-forum.com>
NNTP-Posting-Host bristol.highgroove.com
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Trace talisker.lacave.net 1301672701 34508 65.111.164.187 (1 Apr 2011 15:45:01 GMT)
X-Complaints-To abuse@lacave.net
NNTP-Posting-Date Fri, 1 Apr 2011 15:45:01 +0000 (UTC)
In-Reply-To <e4db35ea8bb31ebf053db829562ecabf@ruby-forum.com>
X-Received-From This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway
X-Mail-Count 380754
X-Ml-Name ruby-talk
X-Rubymirror Yes
X-Ruby-Talk <e0c5b4412cfe9be1068f352d3ba3824f@ruby-forum.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.ruby:2113

Show key headers only | View raw


Hello

Thanks a lot it is working and giving me the desired output.

But I am little confused about two things.

1. Is the Init_Name I am declaring and calling from the ruby file, Is it 
acting like a Library function? If not, how to create a library 
function?

2. What does the require command do?


Regards

Tridib

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Method Call from inside a file. Tridib Bandopadhyay <tridib04@gmail.com> - 2011-04-01 10:44 -0500
  Re: Method Call from inside a file. Brian Candler <b.candler@pobox.com> - 2011-04-01 13:23 -0500
    Re: Method Call from inside a file. Tridib Bandopadhyay <tridib04@gmail.com> - 2011-04-01 13:33 -0500
      Re: Method Call from inside a file. Brian Candler <b.candler@pobox.com> - 2011-04-01 17:00 -0500

csiph-web