------art_11074_17184534.1157386125826
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Fixnum.ancestors.each do |x|
p
"------------------------------------:#{x}---------------------------------"
 x.methods.each do
   |y| p y if y /^t/
 end
end

hi all,

i was trying this code and thought of getting all methods starting with t in
search of times but the result shows no times.
i am new to blocks concept what i know till now is like you define a method
and use "yield" to call a block.

but if times takes in a block and prints it that many times if print given
then why times is not being shown in the list.
i hope regular expression i am using is correct i am new to that too but the
listed methods began with "t"  in result.

one more thing...

if i want to try something like

5  yNum.new  how to do that  .. i did something  but dint work.....

thanks in advance

regards
gaurav v bagga

------art_11074_17184534.1157386125826--