From: Peter Cooper Date: 2007-03-28T11:53:45+09:00 Subject: Re: Newby question: use Rubyinline error ------=_Part_14540_17347405.1175050423123 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 3/28/07, Ak 756 wrote: > > when I run this code, I get error as: > > ./inline.rb:5: undefined method `inline' for TestC:Class (NoMethodError) > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge > m_original_require' > from > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re > quire' > from inline.rb:2 > > Would anybody help to find what's the err? You didn't call your own source file 'inline.rb' by any chance? That would cause this error. Use a different filename. Cheers, Peter Cooper http://www.rubyinside.com/ ------=_Part_14540_17347405.1175050423123--