In fact it's Kernel.Integer(name) cf http://www.rubycentral.com/book/ref_m_kernel.html#Kernel.Integer Integer is a "method" of the Kernel module. s moon wrote: > I found following exp from html_parser.rb > > n = Integer(name) > > here, name is string > > > Is the Integer used as class method? > it looks like converting from str to int. > Where can I get this info? > I checked "the ruby way' and "programming ruby' > but i couldn't find any info about it. > > thanks. > > s moon