From: Logan Capaldo Date: 2006-01-21T12:06:16+09:00 Subject: Re: Method definitions and Line numbers On Jan 20, 2006, at 7:37 PM, Brian Takita wrote: > Hello, > > How does Ruby store where methods are defined? > For example, where does Ruby look to get file names and line > numbers in the > stack trace? > > -- > Thank you, > Brian Takita > http://weblog.freeopinion.org Check out the __FILE__ and __LINE__ constants.